Type alias AccessTokenMetadata

AccessTokenMetadata: {
    active: boolean;
    created_at: number;
    fingerprint: string;
    id: number;
    name: string;
    valid_until: number;
}

Access token metadata (without the token value). Returned when listing tokens.

Type declaration

  • active: boolean

    Whether the token is currently active.

  • created_at: number

    Unix timestamp (in seconds) when the token was created.

  • fingerprint: string

    MD5 fingerprint of the token.

  • id: number

    Unique identifier for the token.

  • name: string

    Name of the token.

  • valid_until: number

    Unix timestamp (in seconds) when the token expires.