JwtBearerOptions.SecurityTokenValidators 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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)
属性值
- 属性