BootstrapContext.SecurityToken Property

.NET Framework (current version)
 

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

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public SecurityToken SecurityToken { get; }

Property Value

Type: System.IdentityModel.Tokens.SecurityToken

The security token or null.

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

.NET Framework
Available since 4.5
Return to top
Show: