ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.193.4

This commit is contained in:
speakeasybot
2024-02-24 00:25:51 +00:00
parent 23c20be9e3
commit 4819145e93
66 changed files with 2037 additions and 1149 deletions

View File

@@ -1,9 +1,9 @@
# Security
(*security*)
# Authentication
(*authentication*)
## Overview
API Calls against Security for Plex Media Server
API Calls regarding authentication for Plex Media Server
### Available Operations
@@ -30,7 +30,7 @@ async function run() {
const type = GetTransientTokenQueryParamType.Delegation;
const scope = Scope.All;
const result = await sdk.security.getTransientToken(type, scope);
const result = await sdk.authentication.getTransientToken(type, scope);
// Handle the result
console.log(result)
@@ -77,7 +77,7 @@ async function run() {
const source = "server://client-identifier";
const result = await sdk.security.getSourceConnectionInformation(source);
const result = await sdk.authentication.getSourceConnectionInformation(source);
// Handle the result
console.log(result)

View File

@@ -21,9 +21,7 @@ Retrieve a Pin from Plex.tv for authentication flows
import { PlexAPI } from "@lukehagar/plexjs";
async function run() {
const sdk = new PlexAPI({
accessToken: "<YOUR_API_KEY_HERE>",
});
const sdk = new PlexAPI();
const xPlexClientIdentifier = "<value>";
const strong = false;
@@ -68,9 +66,7 @@ Retrieve an Access Token from Plex.tv after the Pin has already been authenticat
import { PlexAPI } from "@lukehagar/plexjs";
async function run() {
const sdk = new PlexAPI({
accessToken: "<YOUR_API_KEY_HERE>",
});
const sdk = new PlexAPI();
const pinID = "<value>";
const xPlexClientIdentifier = "<value>";