共用方式為


Saml2SecurityTokenHandler.ValidateOneTimeUseCondition Method

Definition

Validates the OneTimeUse condition.

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

Parameters

securityToken
Saml2SecurityToken

The Saml2SecurityToken that is being validated.

validationParameters
TokenValidationParameters

The TokenValidationParameters to be used for validating the token.

Applies to