PrincipalExtensionsForSecurityTokens.GetBootstrapToken(IPrincipal) Method
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.
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