Skip to main content

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.

    access_token stringrequired

    The newly-obtained access token.

    expires_in number

    The lifetime of the access token, in seconds.

    refresh_token string

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

    refresh_expires_in number

    The lifetime of the refresh token, in seconds.

    token_type stringrequired

    Possible values: [Bearer]

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

    id_token string

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

    scope string

    The effective scope of the newly-obtained token.