Partager via


OpenIdConnectOptions.SecurityTokenValidator Propriété

Définition

Attention

SecurityTokenValidator is no longer used by default. Use TokenHandler instead. To continue using SecurityTokenValidator, set UseSecurityTokenValidator to true. See https://aka.ms/aspnetcore8/security-token-changes

Obtient ou définit le ISecurityTokenValidator utilisé pour valider les jetons d’identité.

public:
 property Microsoft::IdentityModel::Tokens::ISecurityTokenValidator ^ SecurityTokenValidator { Microsoft::IdentityModel::Tokens::ISecurityTokenValidator ^ get(); void set(Microsoft::IdentityModel::Tokens::ISecurityTokenValidator ^ value); };
public Microsoft.IdentityModel.Tokens.ISecurityTokenValidator SecurityTokenValidator { get; set; }
[System.Obsolete("SecurityTokenValidator is no longer used by default. Use TokenHandler instead. To continue using SecurityTokenValidator, set UseSecurityTokenValidator to true. See https://aka.ms/aspnetcore8/security-token-changes")]
public Microsoft.IdentityModel.Tokens.ISecurityTokenValidator SecurityTokenValidator { get; set; }
member this.SecurityTokenValidator : Microsoft.IdentityModel.Tokens.ISecurityTokenValidator with get, set
[<System.Obsolete("SecurityTokenValidator is no longer used by default. Use TokenHandler instead. To continue using SecurityTokenValidator, set UseSecurityTokenValidator to true. See https://aka.ms/aspnetcore8/security-token-changes")>]
member this.SecurityTokenValidator : Microsoft.IdentityModel.Tokens.ISecurityTokenValidator with get, set
Public Property SecurityTokenValidator As ISecurityTokenValidator

Valeur de propriété

Attributs

S’applique à