Table of Contents

Interface IAuthnRequestValidator

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

Validates an inbound AuthnRequest. Duende's IAuthnRequestValidator; replace it to add or change a check.

public interface IAuthnRequestValidator

Methods

ValidateAsync(string, SamlRedirectSignature?, DateTimeOffset?, CancellationToken)

Task<SamlAuthnRequestValidationResult> ValidateAsync(string xml, SamlRedirectSignature? redirectSignature = null, DateTimeOffset? receivedAt = null, CancellationToken cancellationToken = default)

Parameters

xml string

The decoded AuthnRequest.

redirectSignature SamlRedirectSignature

The detached signature it arrived with under the HTTP-Redirect binding, if any.

receivedAt DateTimeOffset?

When this server received it, for a request validated again after the user signed in; now when null. Its age is measured to then, so the time the user spent at the login page does not expire it.

cancellationToken CancellationToken

Cancels the service provider lookup.

Returns

Task<SamlAuthnRequestValidationResult>