JWT helpers
Methods
(static) decode(token) → {Promise}
Decode a JSON web token
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
token |
*
|
Returns:
- Type:
-
Promise
(static) generate(param0) → {Promise.<any>}
Generate a JSON web token
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
param0 |
*
|
Returns:
- Type:
-
Promise.<any>