共用方式為


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

屬性值

屬性

適用於