共用方式為


WsFederationOptions.SecurityTokenHandlers 屬性

定義

警告

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

取得或設定 用來讀取和驗證 SecurityToken 的集合 ISecurityTokenValidator

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

屬性值

屬性

適用於