Interface ISamlServiceProviderStore
- Namespace
- Fdyay.IdentityServer.Saml.Idp
- Assembly
- Fdyay.IdentityServer.Saml.dll
Resolves registered service providers by entity ID.
public interface ISamlServiceProviderStore
Methods
FindByEntityIdAsync(string, CancellationToken)
The registration with this entity id, or null when there is none to serve.
Task<SamlServiceProvider?> FindByEntityIdAsync(string entityId, CancellationToken cancellationToken = default)
Parameters
entityIdstringThe service provider's entity id, compared exactly.
cancellationTokenCancellationTokenCancels the lookup.
Returns
- Task<SamlServiceProvider>
The registration, or null.
GetAllSamlServiceProvidersAsync(CancellationToken)
Every service provider in the store, as a stream. Duende's.
IAsyncEnumerable<SamlServiceProvider> GetAllSamlServiceProvidersAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationToken