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.​DefaultCorsPolicyService
Assembly: Duende.IdentityServer
Inheritance: object → DefaultCorsPolicyService
Implemented Interfaces
Default CORS policy service.
Fields and Constants
protected readonly
Microsoft.​Extensions.​Logging.​ILogger
Logger
Logger
Properties
public
System.​Collections.​Generic.​ICollection<​string>
AllowedOrigins
The list allowed origins that are allowed.
public
bool
AllowAll
Gets or sets a value indicating whether all origins are allowed.
Methods
public
System.​Threading.​Tasks.​Task<​bool>
IsOriginAllowedAsync​(string origin)
Determines whether the origin 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