Skip to content
Sursa Developers

Objects

OAuthTokenRequest

Fields of an application/x-www-form-urlencoded form (RFC 6749, sections 4.1.3, 4.4.2 and 6).

Fields

  • grant_typestringrequired

    Allowed values: authorization_coderefresh_tokenclient_credentials

  • codestring

    Authorization code (authorization_code).

  • redirect_uristring

    The same redirect URI as in the authorization request (authorization_code).

  • code_verifierstring

    The original PKCE value, 43 to 128 characters (authorization_code).

  • refresh_tokenstring

    Refresh (refresh_token).

  • scopestring

    Space-separated scopes, narrowing only (refresh_token, client_credentials).

  • client_idstring

    App ID, when the secret is not passed in the Authorization: Basic header.

  • client_secretstring

    Client secret of a confidential app, when it is not passed in the Authorization: Basic header.

Used by