JwtSecurityTokenHandler.ClaimsIdentityFromJwt Method

Creates a ClaimsIdentity from a JwtSecurityToken.

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

Syntax

'Declaration
Protected Function ClaimsIdentityFromJwt ( _
    jwt As JwtSecurityToken, _
    issuer As String, _
    saveBootstrapContext As Boolean _
) As ClaimsIdentity
protected ClaimsIdentity ClaimsIdentityFromJwt(
    JwtSecurityToken jwt,
    string issuer,
    bool saveBootstrapContext
)
protected:
ClaimsIdentity^ ClaimsIdentityFromJwt(
    JwtSecurityToken^ jwt, 
    String^ issuer, 
    bool saveBootstrapContext
)
member ClaimsIdentityFromJwt : 
        jwt:JwtSecurityToken * 
        issuer:string * 
        saveBootstrapContext:bool -> ClaimsIdentity
protected function ClaimsIdentityFromJwt(
    jwt : JwtSecurityToken, 
    issuer : String, 
    saveBootstrapContext : boolean
) : ClaimsIdentity

Parameters

Return Value

Type: System.Security.Claims.ClaimsIdentity
A ClaimsIdentity containing the Claims.

.NET Framework Security

See Also

Reference

JwtSecurityTokenHandler Class

System.IdentityModel.Tokens Namespace