Globus SDK for JavaScript
    Preparing search index...

    Type Alias TokenMetadata

    Metadata added to a token by the TokenManager when it is stored.

    4.3.0

    type TokenMetadata = {
        created: number;
        expires: number | null;
    }
    Index
    created: number

    The timestamp when the token was added to the storage as a number of milliseconds since the Unix epoch.

    IMPORTANT: This value might not represent the time when the token was created by the authorization server.

    expires: number | null

    The timestamp when the token will expire as a number of milliseconds since the Unix epoch, based on the expires_in value from the token response and the time when the token was stored.