Interface IClientStore
- Namespace
- Fdyay.IdentityServer.Stores
- Assembly
- Fdyay.IdentityServer.Core.dll
Retrieves client configuration.
public interface IClientStore
Methods
FindClientByIdAsync(string, CancellationToken)
Finds a client by id, or returns null if not found.
Task<Client?> FindClientByIdAsync(string clientId, CancellationToken cancellationToken = default)
Parameters
clientIdstringcancellationTokenCancellationToken
Returns
GetAllClientsAsync(CancellationToken)
Every client in the store, as a stream. Duende's.
IAsyncEnumerable<Client> GetAllClientsAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationToken
Returns
Remarks
For a host's own enumeration — an administration page, an audit, a bulk change — rather than for a protocol request, which always names its client. Nothing on a request path here enumerates, as nothing in Duende does.