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
TThe inner.
validator
IClientConfigurationValidatorThe validator.
events
IEventServiceThe 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
stringThe client id
Returns
- Task<Client>
The client or an InvalidOperationException