Table of Contents

Interface ISamlMetadataResponseGenerator

Namespace
Fdyay.IdentityServer.Saml.Metadata
Assembly
Fdyay.IdentityServer.Saml.dll

Builds this identity provider's SAML metadata. Duende's ISaml2MetadataResponseGenerator.

public interface ISamlMetadataResponseGenerator

Methods

GenerateMetadataAsync(string, IEnumerable<X509Certificate2>, SamlOptions, string, CancellationToken)

The metadata for issuer, publishing signingKeys.

Task<SamlMetadataResult> GenerateMetadataAsync(string issuer, IEnumerable<X509Certificate2> signingKeys, SamlOptions options, string baseUrl, CancellationToken ct)

Parameters

issuer string

The entity id this server signs as.

signingKeys IEnumerable<X509Certificate2>

The certificates to publish as signing keys, in order.

options SamlOptions

The SAML options.

baseUrl string

The base URL the endpoints are served under.

ct CancellationToken

The cancellation token.

Returns

Task<SamlMetadataResult>