Table of Contents

Class ValidatingClientStore<T>

Namespace
Duende.IdentityServer.Stores
Assembly
Duende.IdentityServer.dll

Client store decorator for running runtime configuration validation checks

public class ValidatingClientStore<T> : IClientStore where T : IClientStore

Type Parameters

T
Inheritance
ValidatingClientStore<T>
Implements
IClientStore
Inherited Members

Constructors

ValidatingClientStore(T, IClientConfigurationValidator, IEventService, ILogger<ValidatingClientStore<T>>)

Initializes a new instance of the ValidatingClientStore<T> class.

public ValidatingClientStore(T inner, IClientConfigurationValidator validator, IEventService events, ILogger<ValidatingClientStore<T>> logger)

Parameters

inner T

The inner.

validator IClientConfigurationValidator

The validator.

events IEventService

The events.

logger ILogger<ValidatingClientStore<T>>

The logger.

Methods

FindClientByIdAsync(string)

Finds a client by id (and runs the validation logic)

public Task<Client> FindClientByIdAsync(string clientId)

Parameters

clientId string

The client id

Returns

Task<Client>

The client or an InvalidOperationException