Class DiscoveryOptions
- Namespace
- Duende.IdentityServer.Configuration
- Assembly
- Duende.IdentityServer.dll
Options class to configure discovery endpoint
public class DiscoveryOptions
- Inheritance
-
DiscoveryOptions
- Inherited Members
Constructors
DiscoveryOptions()
public DiscoveryOptions()
Properties
CustomEntries
Adds custom entries to the discovery document
public Dictionary<string, object> CustomEntries { get; set; }
Property Value
ExpandRelativePathsInCustomEntries
Turns relative paths that start with ~/ into absolute paths
public bool ExpandRelativePathsInCustomEntries { get; set; }
Property Value
ResponseCacheInterval
Sets the maxage value of the cache control header (in seconds) of the HTTP response. This gives clients a hint how often they should refresh their cached copy of the discovery document. If set to 0 no-cache headers will be set. Defaults to null, which does not set the header.
public int? ResponseCacheInterval { get; set; }
Property Value
- int?
The cache interval in seconds.
ShowApiScopes
Show API scopes
public bool ShowApiScopes { get; set; }
Property Value
ShowClaims
Show identity claims
public bool ShowClaims { get; set; }
Property Value
ShowEndpoints
Show endpoints
public bool ShowEndpoints { get; set; }
Property Value
ShowExtensionGrantTypes
Show custom grant types
public bool ShowExtensionGrantTypes { get; set; }
Property Value
ShowGrantTypes
Show standard grant types
public bool ShowGrantTypes { get; set; }
Property Value
ShowIdentityScopes
Show identity scopes
public bool ShowIdentityScopes { get; set; }
Property Value
ShowKeySet
Show signing keys
public bool ShowKeySet { get; set; }
Property Value
ShowResponseModes
Show response modes
public bool ShowResponseModes { get; set; }
Property Value
ShowResponseTypes
Show response types
public bool ShowResponseTypes { get; set; }
Property Value
ShowTokenEndpointAuthenticationMethods
Show token endpoint authentication methods
public bool ShowTokenEndpointAuthenticationMethods { get; set; }