Files
directus/app/src/utils/jwt-payload
rijkvanzanten a336998b8d Revert "Flatten utils"
This reverts commit 343599b524.
2020-08-11 11:24:14 -04:00
..
2020-08-11 11:24:14 -04:00
2020-08-11 11:24:14 -04:00
2020-08-11 11:24:14 -04:00

JWT Payload

Get the payload from a JWT token.

Usage

jwtPayload('eyJa ... Gm18');

// => { exp: 1586466920, [key: string]: any }