Redigera

Dela via


BootstrapContext.SecurityTokenHandler Property

Definition

Gets the token handler that was used to initialize the context.

public:
 property System::IdentityModel::Tokens::SecurityTokenHandler ^ SecurityTokenHandler { System::IdentityModel::Tokens::SecurityTokenHandler ^ get(); };
public System.IdentityModel.Tokens.SecurityTokenHandler SecurityTokenHandler { get; }
member this.SecurityTokenHandler : System.IdentityModel.Tokens.SecurityTokenHandler
Public ReadOnly Property SecurityTokenHandler As SecurityTokenHandler

Property Value

The token handler or null.

Remarks

This property is only set if the BootstrapContext.BootstrapContext(SecurityToken, SecurityTokenHandler) constructor was used; otherwise it is null.

Applies to