Table of Contents

Class SamlConnectedApplicationStore

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

The clients, then the SAML service providers. Duende 8.0.1's ConnectedApplicationStore, measured.

public sealed class SamlConnectedApplicationStore : ConnectedApplicationStore, IConnectedApplicationStore
Inheritance
SamlConnectedApplicationStore
Implements
Inherited Members

Remarks

Registered by AddSaml in place of the clients-only default.

Constructors

SamlConnectedApplicationStore(IClientStore, ISamlServiceProviderStore)

Creates the store over both kinds of application.

public SamlConnectedApplicationStore(IClientStore clientStore, ISamlServiceProviderStore serviceProviders)

Parameters

clientStore IClientStore

Searched first, by client id.

serviceProviders ISamlServiceProviderStore

Searched second, by entity id.

Exceptions

ArgumentNullException

serviceProviders is null.

Methods

FindByIdentifierAsync(string, CancellationToken)

The client with this id, else the service provider with this entity id, else null. Duende's order.

public override Task<IConnectedApplication?> FindByIdentifierAsync(string identifier, CancellationToken cancellationToken = default)

Parameters

identifier string
cancellationToken CancellationToken

Returns

Task<IConnectedApplication>

GetAllAsync(CancellationToken)

Every client, then every service provider, each in its store's order. Duende's.

public override IAsyncEnumerable<IConnectedApplication> GetAllAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

IAsyncEnumerable<IConnectedApplication>