Skip to main content

GrantType

It is used in token requests to specify the type of authorization grant being utilized. The acceptable values are:

  • client_credentials: client credentials grant type
  • refresh_token: refresh token grant type
  • urn:ietf:params:oauth:grant-type:token-exchange: token exchange grant type
  • password: resource owner password (or "password") grant type
stringGrantType (string)

It is used in token requests to specify the type of authorization grant being utilized. The acceptable values are:

  • client_credentials: client credentials grant type
  • refresh_token: refresh token grant type
  • urn:ietf:params:oauth:grant-type:token-exchange: token exchange grant type
  • password: resource owner password (or "password") grant type

Possible values: [client_credentials, refresh_token, urn:ietf:params:oauth:grant-type:token-exchange, password]

Example: client_credentials
GrantType
"client_credentials"