Interface IJwtDecoder
An interface to decode a JwtToken from a string.
Namespace: Unity.Cloud.Identity
Assembly: Unity.Cloud.Identity.dll
Syntax
public interface IJwtDecoder
Methods
Decode(string)
A function to decode a JwtToken from a string.
Declaration
JwtToken Decode(string jwtToken)
Parameters
| Type | Name | Description |
|---|---|---|
| string | jwtToken | The JWT token string to decode. |
Returns
| Type | Description |
|---|---|
| JwtToken | The decoded JwtToken. |
Exceptions
| Type | Condition |
|---|---|
| InvalidCredentialException | Thrown if the string does not match expected JWT format. |