Table of Contents

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

entityId string

The service provider's entity id, compared exactly.

cancellationToken CancellationToken

Cancels 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

cancellationToken CancellationToken

Returns

IAsyncEnumerable<SamlServiceProvider>