Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Duende.​IdentityServer.​Services.​InMemoryCorsPolicyService
Assembly: Duende.IdentityServer
Inheritance: object → InMemoryCorsPolicyService
Implemented Interfaces
An ICorsPolicyService for use with clients configured with AddInMemoryClients. This service will allow any origin included in any client's AllowedCorsOrigins.
Fields and Constants
protected readonly
Microsoft.​Extensions.​Logging.​ILogger
Logger
Logger
protected readonly
System.​Collections.​Generic.​IEnumerable<​Models.​Client>
Clients
Clients applications list
Methods
public
System.​Threading.​Tasks.​Task<​bool>
IsOriginAllowedAsync​(string origin)
Determines whether origin is allowed.
origin
The origin.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object