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)
屬性值
- 屬性