Partager via


JwtBearerOptions.SecurityTokenValidators Propriété

Définition

Attention

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

Obtient la liste triée des ISecurityTokenValidator utilisés pour valider les jetons d’accès.

public:
 property System::Collections::Generic::IList<Microsoft::IdentityModel::Tokens::ISecurityTokenValidator ^> ^ SecurityTokenValidators { System::Collections::Generic::IList<Microsoft::IdentityModel::Tokens::ISecurityTokenValidator ^> ^ get(); };
public System.Collections.Generic.IList<Microsoft.IdentityModel.Tokens.ISecurityTokenValidator> SecurityTokenValidators { get; }
[System.Obsolete("SecurityTokenValidators is no longer used by default. Use TokenHandlers instead. To continue using SecurityTokenValidators, set UseSecurityTokenValidators to true. See https://aka.ms/aspnetcore8/security-token-changes")]
public System.Collections.Generic.IList<Microsoft.IdentityModel.Tokens.ISecurityTokenValidator> SecurityTokenValidators { get; }
member this.SecurityTokenValidators : System.Collections.Generic.IList<Microsoft.IdentityModel.Tokens.ISecurityTokenValidator>
[<System.Obsolete("SecurityTokenValidators is no longer used by default. Use TokenHandlers instead. To continue using SecurityTokenValidators, set UseSecurityTokenValidators to true. See https://aka.ms/aspnetcore8/security-token-changes")>]
member this.SecurityTokenValidators : System.Collections.Generic.IList<Microsoft.IdentityModel.Tokens.ISecurityTokenValidator>
Public ReadOnly Property SecurityTokenValidators As IList(Of ISecurityTokenValidator)

Valeur de propriété

Attributs

S’applique à