@deep/nest-kit
    Preparing search index...

    Interface JwtServiceTokenPayload

    Payload to create new JWT service token

    interface JwtServiceTokenPayload {
        aud: string[];
        cid?: string;
        id: string;
        iss: string;
        pid?: string;
        sub: SERVICE;
        uid: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    aud: string[]

    Audience. Service shortnames that can use this token

    cid?: string

    Client ID

    'ext-simedia'
    
    id: string

    Service token ID. This is used to check if service 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: SERVICE

    Token type

    uid: string

    User ID

    'hcu:1xgetnx5xq3'