|
1 |
| -# ResponseBody |
| 1 | +# OAuthAccessToken |
| 2 | + |
| 3 | +Success |
2 | 4 |
|
3 | 5 |
|
4 | 6 | ## Fields
|
5 | 7 |
|
6 |
| -| Field | Type | Required | Description | Example | |
7 |
| -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | |
8 |
| -| `Object` | *string* | :heavy_minus_sign: | N/A | oauth_access_token | |
9 |
| -| `ExternalAccountId` | *string* | :heavy_minus_sign: | External account ID | external_account_456 | |
10 |
| -| `ProviderUserId` | *string* | :heavy_minus_sign: | The unique ID of the user in the external provider's system | provider_user_789 | |
11 |
| -| `Token` | *string* | :heavy_minus_sign: | The access token | access_token_123 | |
12 |
| -| `Provider` | *string* | :heavy_minus_sign: | The ID of the provider | oauth_google | |
13 |
| -| `PublicMetadata` | Dictionary<String, *object*> | :heavy_minus_sign: | N/A | {} | |
14 |
| -| `Label` | *string* | :heavy_minus_sign: | N/A | Primary account | |
15 |
| -| `Scopes` | List<*string*> | :heavy_minus_sign: | The list of scopes that the token is valid for.<br/>Only present for OAuth 2.0 tokens. | [<br/>"email",<br/>"profile"<br/>] | |
16 |
| -| `TokenSecret` | *string* | :heavy_minus_sign: | The token secret. Only present for OAuth 1.0 tokens. | token_secret_xyz | |
17 |
| -| `ExpiresAt` | *long* | :heavy_minus_sign: | Unix timestamp of the access token expiration. | | |
| 8 | +| Field | Type | Required | Description | |
| 9 | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | |
| 10 | +| `Object` | [OAuthAccessTokenObject](../../Models/Components/OAuthAccessTokenObject.md) | :heavy_check_mark: | N/A | |
| 11 | +| `ExternalAccountId` | *string* | :heavy_check_mark: | External account ID | |
| 12 | +| `ProviderUserId` | *string* | :heavy_check_mark: | The unique ID of the user in the external provider's system | |
| 13 | +| `Token` | *string* | :heavy_check_mark: | The access token | |
| 14 | +| `ExpiresAt` | *long* | :heavy_check_mark: | Unix timestamp of the access token expiration. | |
| 15 | +| `Provider` | *string* | :heavy_check_mark: | The ID of the provider | |
| 16 | +| `PublicMetadata` | Dictionary<String, *object*> | :heavy_check_mark: | N/A | |
| 17 | +| `Label` | *string* | :heavy_check_mark: | N/A | |
| 18 | +| `Scopes` | List<*string*> | :heavy_minus_sign: | The list of scopes that the token is valid for. Only present for OAuth 2.0 tokens. | |
| 19 | +| `TokenSecret` | *string* | :heavy_minus_sign: | The token secret. Only present for OAuth 1.0 tokens. | |
0 commit comments