JwtSecurityTokenHandler.CreateToken Method

Include Protected Members
Include Inherited Members

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method CreateToken(SecurityTokenDescriptor) Creates a JwtSecurityToken based on values found in the SecurityTokenDescriptor.
Public method CreateToken(String, String, ClaimsIdentity, Lifetime, SigningCredentials, SignatureProvider) Uses the JwtSecurityToken constructor, first creating the JwtHeader and JwtPayload.If SigningCredentials is not null, RawData will be signed.

Top

See Also

Reference

JwtSecurityTokenHandler Class

System.IdentityModel.Tokens Namespace