Partilhar via


OpenIdConnectOptions.SecurityTokenValidator Propriedade

Definição

Cuidado

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

Obtém ou define o ISecurityTokenValidator usado para validar tokens de identidade.

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

Valor da propriedade

Atributos

Aplica-se a