Table of Contents

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

clientId string
cancellationToken CancellationToken

Returns

Task<Client>

GetAllClientsAsync(CancellationToken)

Every client in the store, as a stream. Duende's.

IAsyncEnumerable<Client> GetAllClientsAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

IAsyncEnumerable<Client>

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.