Table of Contents

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

Dictionary<string, object>

ExpandRelativePathsInCustomEntries

Turns relative paths that start with ~/ into absolute paths

public bool ExpandRelativePathsInCustomEntries { get; set; }

Property Value

bool

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

bool

ShowClaims

Show identity claims

public bool ShowClaims { get; set; }

Property Value

bool

ShowEndpoints

Show endpoints

public bool ShowEndpoints { get; set; }

Property Value

bool

ShowExtensionGrantTypes

Show custom grant types

public bool ShowExtensionGrantTypes { get; set; }

Property Value

bool

ShowGrantTypes

Show standard grant types

public bool ShowGrantTypes { get; set; }

Property Value

bool

ShowIdentityScopes

Show identity scopes

public bool ShowIdentityScopes { get; set; }

Property Value

bool

ShowKeySet

Show signing keys

public bool ShowKeySet { get; set; }

Property Value

bool

ShowResponseModes

Show response modes

public bool ShowResponseModes { get; set; }

Property Value

bool

ShowResponseTypes

Show response types

public bool ShowResponseTypes { get; set; }

Property Value

bool

ShowTokenEndpointAuthenticationMethods

Show token endpoint authentication methods

public bool ShowTokenEndpointAuthenticationMethods { get; set; }

Property Value

bool