@paysafe/paysafe-wallet-saas-web
    Preparing search index...

    Interface Token

    Token represents the structure returned by the authorization server in response to a successful token request. It includes access tokens, refresh tokens, and additional details necessary for client authentication and authorization in OAuth2-based flows.

    interface Token {
        access_token: string;
        expires_in?: number;
        id_token?: string;
        refresh_expires_in?: number;
        refresh_token?: string;
        scope?: string;
        token_type: string;
    }
    Index

    Properties

    access_token: string

    The newly-obtained access token.

    expires_in?: number

    The lifetime of the access token, in seconds.

    id_token?: string

    The user identity token, proving that the user has been authenticated.

    refresh_expires_in?: number

    The lifetime of the refresh token, in seconds.

    refresh_token?: string

    The refresh token used to obtain a new access token when the original token expires.

    scope?: string

    The effective scope of the newly-obtained token.

    token_type: string

    The type of the token. Currently only bearer tokens are emitted.