Table of Contents

Class InMemorySamlServiceProviderStore

Namespace
Fdyay.IdentityServer.Saml.Idp
Assembly
Fdyay.IdentityServer.Saml.dll

In-memory service provider registry. Intended for development and single-instance hosting.

public sealed class InMemorySamlServiceProviderStore : ISamlServiceProviderStore
Inheritance
InMemorySamlServiceProviderStore
Implements
Inherited Members

Constructors

InMemorySamlServiceProviderStore(IEnumerable<SamlServiceProvider>)

public InMemorySamlServiceProviderStore(IEnumerable<SamlServiceProvider> providers)

Parameters

providers IEnumerable<SamlServiceProvider>

Exceptions

ArgumentException

Two providers share an entity id; Duende's message.

Methods

FindByEntityIdAsync(string, CancellationToken)

The provider with this entity id, unless it is disabled. Duende's.

public Task<SamlServiceProvider?> FindByEntityIdAsync(string entityId, CancellationToken cancellationToken = default)

Parameters

entityId string
cancellationToken CancellationToken

Returns

Task<SamlServiceProvider>

GetAllSamlServiceProvidersAsync(CancellationToken)

Every provider, in the order given, a disabled one included. Duende's.

public IAsyncEnumerable<SamlServiceProvider> GetAllSamlServiceProvidersAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

IAsyncEnumerable<SamlServiceProvider>