Interface JwtRefreshTokenPayload

Payload to create new JWT refresh token

interface JwtRefreshTokenPayload {
    id: string;
    iss: string;
    pid?: string;
    sub: REFRESH;
    uid: string;
}

Hierarchy (View Summary)

Properties

Properties

id: string

Refresh token ID. This is used to check if refresh token is exists in DB and not revoked

iss: string

Issuer. Service shortname that issued this token

'bo'
pid?: string

Parent User ID who logged in as this user

'hcu:2zgetnx5x2h'
sub: REFRESH

Token type

uid: string

User ID

'hcu:1xgetnx5xq3'