Saml2SecurityTokenHandler.ValidateConfirmationData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- confirmationData
- Saml2SubjectConfirmationData
The Saml2SubjectConfirmationData to validate.
Remarks
Validation of confirmation data is currently not supported by default. To customize SubjectConfirmationData processing, extend Saml2SecurityTokenHandler and override ValidateConfirmationData.