Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
interface Duende.​IdentityServer.​Stores.​IValidationKeysStore
Assembly: Duende.IdentityServer
Provides all public keys that IdentityServer accepts for validating token signatures. This includes the current signing key as well as any recently rotated keys that may still be in use by previously issued tokens. The keys are published via the JWKS (JSON Web Key Set) discovery endpoint so that resource servers and other parties can validate tokens. Implement this interface to supply validation keys from a custom key management solution.
Methods
System.​Threading.​Tasks.​Task<​System.​Collections.​Generic.​IReadOnlyCollection<​Models.​SecurityKeyInfo>>
GetValidationKeysAsync​(System.​Threading.​CancellationToken ct)
Gets all public keys that are currently valid for verifying token signatures.
Returns A read-only collection of <see cref="T:Duende.IdentityServer.Models.SecurityKeyInfo" /> objects representing the
public keys and their associated signing algorithms. Returns an empty collection
when no validation keys are available.
ct
The cancellation token.