Library referenceTypes
TokenClaims
type TokenClaims = {
exp: number;
extra?: unknown;
iat: number;
iss: string;
sub: string;
};the claims of a frvr access token (RS256, about 24 h); nothing here is verified, krunker does that
Properties
| Property | Type | Description |
|---|---|---|
exp | number | - |
extra? | unknown | - |
iat | number | unix seconds |
iss | string | - |
sub | string | the player's frvr user id, the only stable key for caching anything read with this token |