Table of Contents

Interface IIdentityProviderStore

Namespace
Fdyay.IdentityServer.Stores
Assembly
Fdyay.IdentityServer.Core.dll

Where a host keeps the identity providers it can change without a restart.

public interface IIdentityProviderStore

Methods

GetAllSchemeNamesAsync(CancellationToken)

Every provider, in the shape the sign-in page needs to list them.

Task<IEnumerable<IdentityProviderName>> GetAllSchemeNamesAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

Task<IEnumerable<IdentityProviderName>>

GetBySchemeAsync(string, CancellationToken)

One provider in full, or null when this server has never heard of the scheme.

Task<IdentityProvider?> GetBySchemeAsync(string scheme, CancellationToken cancellationToken = default)

Parameters

scheme string
cancellationToken CancellationToken

Returns

Task<IdentityProvider>