Table of Contents

Interface ISamlServiceProviderConfigurationValidator

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

Decides whether a SAML service provider registration can be served.

public interface ISamlServiceProviderConfigurationValidator

Remarks

Duende 8.0.1's ISamlServiceProviderConfigurationValidator, measured: asked by the validating service provider store on every read, which answers a refused registration as no registration and raises InvalidSamlServiceProviderConfigurationEvent. A host replaces the default by registering its own as this interface; Duende has no builder method for it either.

Methods

ValidateAsync(SamlServiceProviderConfigurationValidationContext, CancellationToken)

Checks the registration in context, calling SetError(string) when it cannot be served.

Task ValidateAsync(SamlServiceProviderConfigurationValidationContext context, CancellationToken ct)

Parameters

context SamlServiceProviderConfigurationValidationContext

The registration, and where the outcome is recorded.

ct CancellationToken

Cancels the check.

Returns

Task

A task that completes when the check has run.