mirror of
https://github.com/LukeHagar/plex-api-spec.git
synced 2025-12-09 12:37:45 +00:00
Playing with the security parameters
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user