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