OpenIdConnectOptions.SecurityTokenValidator 属性

定义

注意

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

获取或设置 ISecurityTokenValidator 用于验证标识令牌的 。

public:
 property Microsoft::IdentityModel::Tokens::ISecurityTokenValidator ^ SecurityTokenValidator { Microsoft::IdentityModel::Tokens::ISecurityTokenValidator ^ get(); void set(Microsoft::IdentityModel::Tokens::ISecurityTokenValidator ^ value); };
public Microsoft.IdentityModel.Tokens.ISecurityTokenValidator SecurityTokenValidator { get; set; }
[System.Obsolete("SecurityTokenValidator is no longer used by default. Use TokenHandler instead. To continue using SecurityTokenValidator, set UseSecurityTokenValidator to true. See https://aka.ms/aspnetcore8/security-token-changes")]
public Microsoft.IdentityModel.Tokens.ISecurityTokenValidator SecurityTokenValidator { get; set; }
member this.SecurityTokenValidator : Microsoft.IdentityModel.Tokens.ISecurityTokenValidator with get, set
[<System.Obsolete("SecurityTokenValidator is no longer used by default. Use TokenHandler instead. To continue using SecurityTokenValidator, set UseSecurityTokenValidator to true. See https://aka.ms/aspnetcore8/security-token-changes")>]
member this.SecurityTokenValidator : Microsoft.IdentityModel.Tokens.ISecurityTokenValidator with get, set
Public Property SecurityTokenValidator As ISecurityTokenValidator

属性值

属性

适用于