mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-10 12:37:45 +00:00
19 lines
1.7 KiB
Markdown
19 lines
1.7 KiB
Markdown
# GetTransientTokenRequest
|
|
|
|
## Example Usage
|
|
|
|
```typescript
|
|
import { GetTransientTokenQueryParamType, GetTransientTokenRequest, Scope } from "@lukehagar/plexjs";
|
|
|
|
let value: GetTransientTokenRequest = {
|
|
type: GetTransientTokenQueryParamType.Delegation,
|
|
scope: Scope.All,
|
|
};
|
|
```
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description |
|
|
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
|
|
| `type` | [models.GetTransientTokenQueryParamType](../models/gettransienttokenqueryparamtype.md) | :heavy_check_mark: | `delegation` - This is the only supported `type` parameter. |
|
|
| `scope` | [models.Scope](../models/scope.md) | :heavy_check_mark: | `all` - This is the only supported `scope` parameter. | |