Table of Contents

Class InMemoryValidationKeysStore

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

Holds validation keys the host supplied at startup.

public sealed class InMemoryValidationKeysStore : IValidationKeysStore
Inheritance
InMemoryValidationKeysStore
Implements
Inherited Members

Constructors

InMemoryValidationKeysStore(IEnumerable<SecurityKeyInfo>)

A store that always answers with keys, copied when constructed.

public InMemoryValidationKeysStore(IEnumerable<SecurityKeyInfo> keys)

Parameters

keys IEnumerable<SecurityKeyInfo>

The keys to publish and accept.

Exceptions

ArgumentNullException

keys is null.

Methods

GetValidationKeysAsync(CancellationToken)

The keys to publish and accept.

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

Parameters

cancellationToken CancellationToken

Returns

Task<IEnumerable<SecurityKeyInfo>>