1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Merge pull request #49791 from github/repo-sync

Repo sync
This commit is contained in:
docs-bot
2024-03-20 16:28:17 -04:00
committed by GitHub

View File

@@ -3,6 +3,6 @@ Response parameter | Type | Description
`access_token` | `string` | The user access token. The token starts with `ghu_`. `access_token` | `string` | The user access token. The token starts with `ghu_`.
`expires_in` | `integer` | The number of seconds until `access_token` expires. If you disabled expiration of user access tokens, this parameter will be omitted. The value will always be `28800` (8 hours). `expires_in` | `integer` | The number of seconds until `access_token` expires. If you disabled expiration of user access tokens, this parameter will be omitted. The value will always be `28800` (8 hours).
`refresh_token` | `string` | The refresh token. If you disabled expiration of user access tokens, this parameter will be omitted. The token starts with `ghr_`. `refresh_token` | `string` | The refresh token. If you disabled expiration of user access tokens, this parameter will be omitted. The token starts with `ghr_`.
`refresh_token_expires_in` | `integer` | The number of seconds until `refresh_token` expires. If you disabled expiration of user access tokens, this parameter will be omitted. The value will always be `15811200` (6 months). `refresh_token_expires_in` | `integer` | The number of seconds until `refresh_token` expires. If you disabled expiration of user access tokens, this parameter will be omitted. The value will always be `15897600` (6 months).
`scope` | `string` | The scopes that the token has. This value will always be an empty string. Unlike a traditional OAuth token, the user access token is limited to the permissions that both your app and the user have. `scope` | `string` | The scopes that the token has. This value will always be an empty string. Unlike a traditional OAuth token, the user access token is limited to the permissions that both your app and the user have.
`token_type` | `string` | The type of token. The value will always be `bearer`. `token_type` | `string` | The type of token. The value will always be `bearer`.