OAuthTokenRequest
The token endpoint's form body: an authorization code to exchange, or a refresh token to rotate. Unknown parameters are ignored, as the OAuth specification requires.
Shape
- grant_typestring
authorization_codeorrefresh_token. - client_idstring or nulloptional
- codestring or nulloptional
- code_verifierstring or nulloptional
- redirect_uristring or nulloptional
- refresh_tokenstring or nulloptional
- resourcestring or nulloptionalThe protected resource the token is for.
- scopestring or nulloptionalSpace-separated scopes; on refresh, at most the grant's own.
Example
Synthesized example{
"grant_type": "grant-type-b8e1",
"client_id": "e7df58fb-650a-498e-a53b-6a6be733e213",
"code": "code-792d",
"code_verifier": "code-verifier-91e5",
"redirect_uri": "https://gitmoap.example/acme/521e0ed1",
"refresh_token": "refresh-token-0629",
"resource": "resource-01e4",
"scope": "scope-0b72"
}
Graph
Used inside
No schema contains this one.
Contains
No named schema inside.
Used by
Sent by 1 operation
Returned by 0 operations
No operation returns it directly.