共用方式為


AadTokenValidationParametersExtension.EnableAadSigningKeyIssuerValidation Method

Definition

Enables the validation of the issuer of the signing keys used by the Microsoft identity platform (AAD) against the issuer of the token.

public static void EnableAadSigningKeyIssuerValidation (this Microsoft.IdentityModel.Tokens.TokenValidationParameters tokenValidationParameters);
static member EnableAadSigningKeyIssuerValidation : Microsoft.IdentityModel.Tokens.TokenValidationParameters -> unit
<Extension()>
Public Sub EnableAadSigningKeyIssuerValidation (tokenValidationParameters As TokenValidationParameters)

Parameters

tokenValidationParameters
TokenValidationParameters

The TokenValidationParameters that are used to validate the token.

Applies to