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
xmlstringThe decoded AuthnRequest.
redirectSignatureSamlRedirectSignatureThe detached signature it arrived with under the HTTP-Redirect binding, if any.
receivedAtDateTimeOffset?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.
cancellationTokenCancellationTokenCancels the service provider lookup.