From 180814f65734041038bcc30dab2456f13de81a4f Mon Sep 17 00:00:00 2001 From: Luke Hagar Date: Fri, 2 Jun 2023 21:31:40 -0500 Subject: [PATCH] Playing with the security parameters --- pms/pms-spec.yaml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/pms/pms-spec.yaml b/pms/pms-spec.yaml index a9d18074..c9ff851a 100644 --- a/pms/pms-spec.yaml +++ b/pms/pms-spec.yaml @@ -30,22 +30,21 @@ servers: description: The port to access your plex server. security: - - Token: [] - ClientIdentifier: [] - Device: [] - DeviceName: [] - Platform: [] - PlatformVersion: [] - Product: [] - Version: [] + - accessTokenHeader: [] + - accessTokenQuery: [] components: securitySchemes: - Token: # arbitrary name for the security scheme + accessTokenHeader: description: Plex Authentication Token type: apiKey - in: header # can be "header", "query" or "cookie" - name: X-Plex-Token # name of the header, query parameter or cookie + in: header + name: X-Plex-Token + accessTokenQuery: + description: Plex Authentication Token + type: apiKey + in: query + name: X-Plex-Token ClientIdentifier: # arbitrary name for the security scheme description: Plex Authentication Token type: apiKey