Class InMemoryClientStore
- Namespace
- Duende.IdentityServer.Stores
- Assembly
- Duende.IdentityServer.dll
In-memory client store
public class InMemoryClientStore : IClientStore
- Inheritance
-
InMemoryClientStore
- Implements
-
IClientStore
- Inherited Members
Constructors
InMemoryClientStore(IEnumerable<Client>)
Initializes a new instance of the InMemoryClientStore class.
public InMemoryClientStore(IEnumerable<Client> clients)
Parameters
clientsIEnumerable<Client>The clients.
Methods
FindClientByIdAsync(string)
Finds a client by id
public Task<Client> FindClientByIdAsync(string clientId)
Parameters
clientIdstringThe client id
Returns
- Task<Client>
The client