mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 12:37:46 +00:00
4.0 KiB
4.0 KiB
GetTokenByPinIdRequest
Example Usage
import { GetTokenByPinIdRequest } from "@lukehagar/plexjs/sdk/models/operations";
let value: GetTokenByPinIdRequest = {
pinID: 721343,
clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58",
clientName: "Plex for Roku",
deviceNickname: "Roku 3",
clientVersion: "2.4.1",
platform: "Roku",
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
pinID |
number | ✔️ | The PinID to retrieve an access token for | |
clientID |
string | ✔️ | An opaque identifier unique to the client (UUID, serial number, or other unique device ID) | 3381b62b-9ab7-4e37-827b-203e9809eb58 |
clientName |
string | ➖ | The name of the client application. (Plex Web, Plex Media Server, etc.) | Plex for Roku |
deviceNickname |
string | ➖ | A relatively friendly name for the client device | Roku 3 |
clientVersion |
string | ➖ | The version of the client application. | 2.4.1 |
platform |
string | ➖ | The platform of the client application. | Roku |