JwtBearerOptions.SecurityTokenValidators 属性

定义

注意

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

获取用于验证访问令牌的 ISecurityTokenValidator 的有序列表。

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)

属性值

属性

适用于