GitLab · Schema
TokenRequest
TokenRequest from GitLab API
CodePlatformSoftware DevelopmentSource Control
Properties
| Name | Type | Description |
|---|---|---|
| grant_type | string | The grant type for the token request. |
| client_id | string | The application ID registered in GitLab. |
| client_secret | string | The application secret. Required for confidential clients using authorization_code or refresh_token grant types. |
| code | string | The authorization code received from the authorize endpoint. |
| redirect_uri | string | The redirect URI used in the original authorization request. |
| code_verifier | string | The PKCE code verifier corresponding to the code_challenge. |
| refresh_token | string | The refresh token to exchange for a new access token. |
| device_code | string | The device code from the device authorization response. |
| username | string | Resource owner username. Only for password grant type. |
| password | string | Resource owner password. Only for password grant type. |