mirror of
https://github.com/LukeHagar/plexgo.git
synced 2025-12-10 04:20:57 +00:00
21 lines
12 KiB
Markdown
21 lines
12 KiB
Markdown
# GetTokenResponseBody
|
|
|
|
Access Token
|
|
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description | Example |
|
|
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
| `ID` | **float64* | :heavy_minus_sign: | PinID for use with authentication | 1272322473 |
|
|
| `Code` | **string* | :heavy_minus_sign: | N/A | 3patfx1a78ukcbr7x0n9bl26t |
|
|
| `Product` | **string* | :heavy_minus_sign: | N/A | Plex Web |
|
|
| `Trusted` | **bool* | :heavy_minus_sign: | N/A | |
|
|
| `Qr` | **string* | :heavy_minus_sign: | a link to a QR code hosted on plex.tv <br/>The QR code redirects to the relevant `plex.tv/link` authentication page<br/>Which then prompts the user for the 4 Digit Link Pin<br/> | https://plex.tv/api/v2/pins/qr/3patfx1a78ukcbr7x0n9bl26t |
|
|
| `ClientIdentifier` | **string* | :heavy_minus_sign: | N/A | Postman |
|
|
| `Location` | [*operations.GetTokenLocation](../../models/operations/gettokenlocation.md) | :heavy_minus_sign: | N/A | |
|
|
| `ExpiresIn` | **float64* | :heavy_minus_sign: | N/A | 1800 |
|
|
| `CreatedAt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | N/A | 2023-04-12 17:00:03 +0000 UTC |
|
|
| `ExpiresAt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | N/A | 2023-04-12 17:30:03 +0000 UTC |
|
|
| `AuthToken` | **string* | :heavy_minus_sign: | N/A | |
|
|
| `NewRegistration` | **string* | :heavy_minus_sign: | N/A | | |