Type alias AccessToken

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

Access token returned when creating a new token. This is the only time the token value is returned.

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.

  • token: string

    The actual token value. This is only present in the creation response and cannot be retrieved again.

  • valid_until: number

    Unix timestamp (in seconds) when the token expires.