Share via


WsFederationOptions.SecurityTokenHandlers Property

Definition

Caution

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

Gets or sets the collection of ISecurityTokenValidator used to read and validate the SecurityTokens.

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)

Property Value

Attributes

Applies to