BootstrapContext.SecurityToken Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.