Table of Contents

Interface IValidationKeysStore

Namespace
Fdyay.IdentityServer.Stores
Assembly
Fdyay.IdentityServer.Core.dll

Supplies public keys to publish in the JWKS and accept when validating a token.

public interface IValidationKeysStore

Remarks

Two interfaces rather than one because the sets differ, and they differ exactly when it matters: during a manual key rotation a host signs with the new key and must still publish the old one, or every token issued before the switch stops validating the moment it is deployed.

Methods

GetValidationKeysAsync(CancellationToken)

The keys to publish and accept.

Task<IEnumerable<SecurityKeyInfo>> GetValidationKeysAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

Task<IEnumerable<SecurityKeyInfo>>