Class JwtSecurityTokenDecoder
Inheritance
System.Object
JwtSecurityTokenDecoder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: StdPlatBS100.ServiceClasses
Assembly: StdPlatBS100.dll
Syntax
public class JwtSecurityTokenDecoder
Methods
GetClientId(String)
Gets the client identifier of the specified token.
Declaration
public static string GetClientId(string token)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | token | The token. |
Returns
| Type | Description |
|---|---|
| System.String | The client identifier. Null if not found. |
HasExpired(String)
Determines whether the specified token has expired.
Declaration
public static bool HasExpired(string token)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | token | The token. |
Returns
| Type | Description |
|---|---|
| System.Boolean |
|