Interface JwtSubscriptionTokenPayload

Payload to create new JWT Subscription token

interface JwtSubscriptionTokenPayload {
    aud: string[];
    iss: string;
    pid?: string;
    sub: SUBSCRIPTION;
    uid: string;
}

Hierarchy (View Summary)

Properties

Properties

aud: string[]

Audience. Service shortnames that can use this token

iss: string

Issuer. Service shortname that issued this token

'bo'
pid?: string

Parent User ID who logged in as this user

'hcu:2zgetnx5x2h'

Token type

uid: string

User ID

'hcu:1xgetnx5xq3'