## Security ### Get Transient Tokens [GET /security/token{?type,scope}] This endpoint provides the caller with a temporary token with the same access level as the caller's token. These tokens are valid for up to 48 hours and are destroyed if the server instance is restarted. + Parameters + type: `delegation` - This is the only supported `type` parameter. + scope: `all` - This is the only supported `scope` parameter. + Response 200 (application/xml) ```xml ``` ### Get Source Connection Information [GET /security/resources{?source}] If a caller requires connection details and a transient token for a source that is known to the server, for example a cloud media provider or shared PMS, then this endpoint can be called. This endpoint is only accessible with either an admin token or a valid transient token generated from an admin token. Note: requires Plex Media Server >= 1.15.4. + Parameters + source: `server://client-identifier` or `provider://provider-identifier` - The source identifier with an included prefix. + Response 200 (application/xml) ```xml ```