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.​IdentityModel.​Client.​DiscoveryPolicy

Assembly: Duende.IdentityModel

Inheritance: object → DiscoveryPolicy

Security policy for retrieving a discovery document

Fields and Constants

LoopbackAddresses
Specifies valid loopback addresses, defaults to localhost and 127.0.0.1

Properties

public string
Authority
Gets or sets the Authority on which the policy checks will be based on
public string
DiscoveryDocumentPath
The path of the discovery document. Defaults to /.well-known/openid-configuration.
AuthorityValidationStrategy
Strategy used to validate issuer name and endpoints based on expected authority. Defaults to <see cref="T:Duende.IdentityModel.Client.AuthorityUrlValidationStrategy" /> .
public bool
RequireHttps
Specifies if HTTPS is enforced on all endpoints. Defaults to true.
public bool
AllowHttpOnLoopback
Specifies if HTTP is allowed on loopback addresses. Defaults to true.
public bool
ValidateIssuerName
Specifies if the issuer name is checked to be identical to the authority. Defaults to true.
public bool
ValidateEndpoints
Specifies if all endpoints are checked to belong to the authority. Defaults to true.
EndpointValidationExcludeList
Specifies a list of endpoints that should be excluded from validation
AdditionalEndpointBaseAddresses
Specifies a list of additional base addresses that should be allowed for endpoints
public bool
RequireKeySet
Specifies if a key set is required. Defaults to true.

Methods

public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object