mirror of
https://github.com/LukeHagar/plexphp.git
synced 2025-12-06 12:37:47 +00:00
21 lines
23 KiB
Markdown
21 lines
23 KiB
Markdown
# GetPinAuthPinContainer
|
|
|
|
Requests a new pin id used in the authentication flow
|
|
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description | Example |
|
|
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
| `id` | *int* | :heavy_check_mark: | N/A | 308667304 |
|
|
| `code` | *string* | :heavy_check_mark: | N/A | 7RQZ |
|
|
| `product` | *string* | :heavy_check_mark: | N/A | Tautulli |
|
|
| `trusted` | *?bool* | :heavy_minus_sign: | N/A | |
|
|
| `qr` | *string* | :heavy_check_mark: | N/A | https://plex.tv/api/v2/pins/qr/7RQZ |
|
|
| `clientIdentifier` | *string* | :heavy_check_mark: | The X-Client-Identifier used in the request | Tautulli |
|
|
| `location` | [Operations\GeoData](../../Models/Operations/GeoData.md) | :heavy_check_mark: | Geo location data | {<br/>"code": "VI",<br/>"continent_code": "NA",<br/>"country": "United States Virgin Islands",<br/>"city": "Amsterdam",<br/>"european_union_member": true,<br/>"time_zone": "America/St_Thomas",<br/>"postal_code": 802,<br/>"in_privacy_restricted_country": true,<br/>"in_privacy_restricted_region": true,<br/>"subdivisions": "Saint Thomas",<br/>"coordinates": "18.3381, -64.8941"<br/>} |
|
|
| `expiresIn` | *?int* | :heavy_minus_sign: | The number of seconds this pin expires, by default 900 seconds | 876 |
|
|
| `createdAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | N/A | 2024-07-16T17:03:05Z |
|
|
| `expiresAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | N/A | 2024-07-16T17:18:05Z |
|
|
| `authToken` | *?string* | :heavy_minus_sign: | N/A | gcgzw5rz2xovp84b4vha3a40 |
|
|
| `newRegistration` | *mixed* | :heavy_minus_sign: | N/A | | |