@theredhead — Frontend Library - v1.0.0
    Preparing search index...

    Standard JWT registered payload claims (RFC 7519 §4.1).

    All registered claims are optional. The index signature allows consumers to read custom claims without casting.

    interface JwtPayload {
        aud?: string | readonly string[];
        exp?: number;
        iat?: number;
        iss?: string;
        jti?: string;
        nbf?: number;
        sub?: string;
        readonly [key: string]: unknown;
    }

    Indexable

    • readonly [key: string]: unknown

      Allow arbitrary additional payload claims.

    Index

    Properties

    aud?: string | readonly string[]

    Audience — recipient(s) the JWT is intended for.

    exp?: number

    Expiration time — NumericDate (seconds since Unix epoch) after which the JWT must not be accepted.

    iat?: number

    Issued-at time — NumericDate when the JWT was issued.

    iss?: string

    Issuer — identifies the principal that issued the JWT.

    jti?: string

    JWT ID — unique identifier for the token.

    nbf?: number

    Not-before time — NumericDate before which the JWT must not be accepted.

    sub?: string

    Subject — identifies the principal that is the subject.