Class AccessTokenExtensions
This class contains extensions to work with JWT access tokens
Inheritance
System.Object
AccessTokenExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dangl.Identity.Client
Assembly: Dangl.Identity.Client.dll
Syntax
public static class AccessTokenExtensions
Methods
| Improve this Doc View SourceToUserInfo(String)
Returns a UserInfo if the token passed is a well formed JWT token. This will not perform any validations, so this can not be used to check if a token is valid.
Declaration
public static UserInfo ToUserInfo(this string jwtToken)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | jwtToken |
Returns
| Type | Description |
|---|---|
| UserInfo |