Compartilhar via


Saml2SecurityTokenHandler.ValidateConfirmationData Method

Definition

Validates Saml2SubjectConfirmationData object.

protected virtual void ValidateConfirmationData (Microsoft.IdentityModel.Tokens.Saml2.Saml2SecurityToken samlToken, Microsoft.IdentityModel.Tokens.TokenValidationParameters validationParameters, Microsoft.IdentityModel.Tokens.Saml2.Saml2SubjectConfirmationData confirmationData);
abstract member ValidateConfirmationData : Microsoft.IdentityModel.Tokens.Saml2.Saml2SecurityToken * Microsoft.IdentityModel.Tokens.TokenValidationParameters * Microsoft.IdentityModel.Tokens.Saml2.Saml2SubjectConfirmationData -> unit
override this.ValidateConfirmationData : Microsoft.IdentityModel.Tokens.Saml2.Saml2SecurityToken * Microsoft.IdentityModel.Tokens.TokenValidationParameters * Microsoft.IdentityModel.Tokens.Saml2.Saml2SubjectConfirmationData -> unit
Protected Overridable Sub ValidateConfirmationData (samlToken As Saml2SecurityToken, validationParameters As TokenValidationParameters, confirmationData As Saml2SubjectConfirmationData)

Parameters

samlToken
Saml2SecurityToken

the Saml2SecurityToken being validated.

validationParameters
TokenValidationParameters

the TokenValidationParameters that will be used during validation.

Remarks

Validation of confirmation data is currently not supported by default. To customize SubjectConfirmationData processing, extend Saml2SecurityTokenHandler and override ValidateConfirmationData.

Applies to