BootstrapContext.SecurityToken Property

Definition

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

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

Property Value

The security token or null.

Remarks

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

Applies to