|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The OAuth credential. |
||
| token |
string |
An access credential for a third-party code hosting platform. |
4e84246b6b3962cd3d207aad1ea2f911 |
| type |
string |
The type of the credential. |
bearer |
| scope |
string |
The permissions granted by the credential. |
user_info projects pull_requests hook gists emails |
| expiration |
integer |
The credential's expiration time, specified as a Unix timestamp. A value of -1 means the credential never expires. |
1716263324603 |
| createdTime |
integer |
The credential's creation time, specified as a Unix timestamp. |
1716176924603 |
| refreshToken |
string |
Used to obtain a new access credential. |
4d77bfae284770d94ebeed6b0199ebfd65e3943ba4f1e44dc36d792a93ba0d13 |
OAuthCredential
Updated at:
Is this page helpful?