Interface VincentJWTPayload

Extended payload interface for Vincent-specific JWTs.

VincentJWTPayload

interface VincentJWTPayload {
    app: { id: string; version: number };
    aud?: string | string[];
    authentication: { type: string; value?: string };
    exp?: number;
    iat?: number;
    iss?: string;
    nbf?: number;
    pkp: IRelayPKP;
    rexp?: number;
    sub?: string;
    [x: string]: any;
}

Hierarchy

Indexable

  • [x: string]: any

Properties

app: { id: string; version: number }

The app associated with the JWT.

aud?: string | string[]
authentication: { type: string; value?: string }

The authentication method used to generate the JWT.

exp?: number
iat?: number
iss?: string
nbf?: number

The PKP associated with the JWT.

rexp?: number
sub?: string