TokenExchangeTokenRequest
Token Exchange
Token Request is a feature allowing a client to exchange one type of token for another with the authorization server, facilitating different types of access and delegation scenarios. This mechanism enables clients to obtain additional or more specialized tokens based on the presented tokens.
-
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 - CLIENT_CREDENTIALS
- REFRESH_TOKEN
- TOKEN_EXCHANGE
- PASSWORD
grant_type
string
required
Possible values: [CLIENT_CREDENTIALS
, REFRESH_TOKEN
, TOKEN_EXCHANGE
, PASSWORD
]
It is used in token requests to specify the type of authorization grant being utilized. The acceptable values are:
The scope of the requested access token. Can be used to restrict the new access token to a subset of the scope allowed to the client and token type.
The refresh_token
previously provided to the client.
The scope of the requested access token. Can be used to restrict the new access token to a subset of the scope allowed to the client and token type.
circular(TokenExchangeTokenRequest)
The username that is assigned to the user's account.
The password that is associated with the user's account.
The scope of the requested access token. Can be used to restrict the new access token to a subset of the scope allowed to the client and token type.
Unique identifier assigned to individual users or devices, used to create their digital identity.
A security token that represents the identity of the party on behalf of whom the request is being made.
The scope of the requested access token. Can be used to restrict the new access token to a subset of the scope allowed to the client and token type.
Unique identifier assigned to individual users or devices, used to create their digital identity.