Freigeben über


Validators.ValidateIssuerSecurityKey Method

Definition

Validates the SecurityKey that signed a SecurityToken.

public static void ValidateIssuerSecurityKey (Microsoft.IdentityModel.Tokens.SecurityKey securityKey, Microsoft.IdentityModel.Tokens.SecurityToken securityToken, Microsoft.IdentityModel.Tokens.TokenValidationParameters validationParameters);
static member ValidateIssuerSecurityKey : Microsoft.IdentityModel.Tokens.SecurityKey * Microsoft.IdentityModel.Tokens.SecurityToken * Microsoft.IdentityModel.Tokens.TokenValidationParameters -> unit
Public Shared Sub ValidateIssuerSecurityKey (securityKey As SecurityKey, securityToken As SecurityToken, validationParameters As TokenValidationParameters)

Parameters

securityKey
SecurityKey

The SecurityKey that signed the SecurityToken.

securityToken
SecurityToken

The SecurityToken being validated.

validationParameters
TokenValidationParameters

TokenValidationParameters required for validation.

Exceptions

if 'validationParameters' is null.

Applies to