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
cancellationTokenCancellationToken
Returns
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
schemestringcancellationTokenCancellationToken