Table of Contents

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

generator IDiscoveryResponseGenerator

Builds the key set from the server's validation keys.

options IOptions<IdentityServerOptions>

The server options; their Discovery section 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

context HttpContext

Returns

Task<IEndpointResult>