Class DiscoveryResponseGenerator
- Namespace
- Duende.IdentityServer.ResponseHandling
- Assembly
- Duende.IdentityServer.dll
Default implementation of the discovery endpoint response generator
public class DiscoveryResponseGenerator : IDiscoveryResponseGenerator
- Inheritance
-
DiscoveryResponseGenerator
- Implements
- Inherited Members
Constructors
DiscoveryResponseGenerator(IdentityServerOptions, IResourceStore, IKeyMaterialService, ExtensionGrantValidator, ISecretsListParser, IResourceOwnerPasswordValidator, ILogger<DiscoveryResponseGenerator>)
Initializes a new instance of the DiscoveryResponseGenerator class.
public DiscoveryResponseGenerator(IdentityServerOptions options, IResourceStore resourceStore, IKeyMaterialService keys, ExtensionGrantValidator extensionGrants, ISecretsListParser secretParsers, IResourceOwnerPasswordValidator resourceOwnerValidator, ILogger<DiscoveryResponseGenerator> logger)
Parameters
options
IdentityServerOptionsThe options.
resourceStore
IResourceStoreThe resource store.
keys
IKeyMaterialServiceThe keys.
extensionGrants
ExtensionGrantValidatorThe extension grants.
secretParsers
ISecretsListParserThe secret parsers.
resourceOwnerValidator
IResourceOwnerPasswordValidatorThe resource owner validator.
logger
ILogger<DiscoveryResponseGenerator>The logger.
- See Also
Fields
ExtensionGrants
The extension grants validator
protected readonly ExtensionGrantValidator ExtensionGrants
Field Value
- See Also
Keys
The key material service
protected readonly IKeyMaterialService Keys
Field Value
- See Also
Logger
The logger
protected readonly ILogger Logger
Field Value
- See Also
Options
The options
protected readonly IdentityServerOptions Options
Field Value
- See Also
ResourceOwnerValidator
The resource owner validator
protected readonly IResourceOwnerPasswordValidator ResourceOwnerValidator
Field Value
- See Also
ResourceStore
The resource store
protected readonly IResourceStore ResourceStore
Field Value
- IResourceStore
- See Also
SecretParsers
The secret parsers
protected readonly ISecretsListParser SecretParsers
Field Value
- See Also
Methods
CreateDiscoveryDocumentAsync(string, string)
Creates the discovery document.
public virtual Task<Dictionary<string, object>> CreateDiscoveryDocumentAsync(string baseUrl, string issuerUri)
Parameters
Returns
- See Also
CreateJwkDocumentAsync()
Creates the JWK document.
public virtual Task<IEnumerable<JsonWebKey>> CreateJwkDocumentAsync()
Returns
- See Also