Files
plexjs/docs/sdk/models/operations/gettokenbypinidauthpincontainer.md

24 KiB
Raw Blame History

GetTokenByPinIdAuthPinContainer

The Pin with a non-null authToken when it has been verified by the user

Example Usage

import { GetTokenByPinIdAuthPinContainer } from "@lukehagar/plexjs/sdk/models/operations";

let value: GetTokenByPinIdAuthPinContainer = {
  id: 308667304,
  code: "7RQZ",
  product: "0",
  qr: "https://plex.tv/api/v2/pins/qr/7RQZ",
  clientIdentifier: "string",
  location: {
    code: "VI",
    continentCode: "NA",
    country: "United States Virgin Islands",
    city: "Amsterdam",
    timeZone: "America/St_Thomas",
    postalCode: "802",
    subdivisions: "Saint Thomas",
    coordinates: "18.3381, -64.8941",
  },
  createdAt: new Date("2024-07-16T17:03:05Z"),
  expiresAt: new Date("2024-07-16T17:18:05Z"),
  authToken: null,
  newRegistration: null,
};

Fields

Field Type Required Description Example
id number ✔️ N/A 308667304
code string ✔️ N/A 7RQZ
product string ✔️ N/A Tautulli
trusted boolean N/A
qr string ✔️ N/A https://plex.tv/api/v2/pins/qr/7RQZ
clientIdentifier string ✔️ The X-Client-Identifier used in the request Tautulli
location operations.GetTokenByPinIdGeoData ✔️ Geo location data {
"code": "VI",
"continent_code": "NA",
"country": "United States Virgin Islands",
"city": "Amsterdam",
"european_union_member": true,
"time_zone": "America/St_Thomas",
"postal_code": 802,
"in_privacy_restricted_country": true,
"in_privacy_restricted_region": true,
"subdivisions": "Saint Thomas",
"coordinates": "18.3381, -64.8941"
}
expiresIn number The number of seconds this pin expires, by default 900 seconds 876
createdAt Date ✔️ N/A 2024-07-16T17:03:05Z
expiresAt Date ✔️ N/A 2024-07-16T17:18:05Z
authToken string N/A gcgzw5rz2xovp84b4vha3a40
newRegistration any N/A