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
clientStoreIClientStoreSearched first, by client id.
serviceProvidersISamlServiceProviderStoreSearched second, by entity id.
Exceptions
- ArgumentNullException
serviceProvidersis 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
identifierstringcancellationTokenCancellationToken
Returns
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
cancellationTokenCancellationToken