Playing with the security parameters

This commit is contained in:
Luke Hagar
2023-06-02 21:31:40 -05:00
parent 27e31e32dc
commit 180814f657

View File

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