Class DiscoveryKeyEndpoint
- Namespace
- Fdyay.IdentityServer.Endpoints
- Assembly
- Fdyay.IdentityServer.AspNetCore.dll
Serves the JSON Web Key Set (JWKS).
public sealed class DiscoveryKeyEndpoint : IEndpointHandler
- Inheritance
-
DiscoveryKeyEndpoint
- Implements
- Inherited Members
Constructors
DiscoveryKeyEndpoint(IDiscoveryResponseGenerator, IOptions<IdentityServerOptions>)
Creates the endpoint from its services, as the container resolves it.
public DiscoveryKeyEndpoint(IDiscoveryResponseGenerator generator, IOptions<IdentityServerOptions> options)
Parameters
generatorIDiscoveryResponseGeneratorBuilds the key set from the server's validation keys.
optionsIOptions<IdentityServerOptions>The server options; their
Discoverysection shapes the key set's caching.
Methods
ProcessAsync(HttpContext)
Processes the request, or returns null to pass the request through.
public Task<IEndpointResult?> ProcessAsync(HttpContext context)
Parameters
contextHttpContext