BootstrapContext.SecurityTokenHandler Property

.NET Framework (current version)

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

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

public SecurityTokenHandler SecurityTokenHandler { get; }

Property Value

Type: System.IdentityModel.Tokens.SecurityTokenHandler

The token handler 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