Files
plexjs/docs/models/gettransienttokenrequest.md

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. |