Compartir a través de


PrincipalExtensionsForSecurityTokens.GetBootstrapToken(IPrincipal) Method

Definition

Get the SecurityToken used to call a protected web API.

public static Microsoft.IdentityModel.Tokens.SecurityToken? GetBootstrapToken (this System.Security.Principal.IPrincipal claimsPrincipal);
static member GetBootstrapToken : System.Security.Principal.IPrincipal -> Microsoft.IdentityModel.Tokens.SecurityToken
<Extension()>
Public Function GetBootstrapToken (claimsPrincipal As IPrincipal) As SecurityToken

Parameters

claimsPrincipal
IPrincipal

Returns

SecurityToken

Applies to