Delen via


JwtBearerOptions.SecurityTokenValidators Property

Definition

Caution

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

Gets the ordered list of ISecurityTokenValidator used to validate access tokens.

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)

Property Value

Attributes

Applies to