re-written how we handle plex access token generation. to handle the edge case of #325
This commit is contained in:
@@ -190,4 +190,14 @@ interface ClientInterface
|
||||
* @return array
|
||||
*/
|
||||
public static function manage(array $backend, array $opts = []): array;
|
||||
|
||||
/**
|
||||
* Return user access token.
|
||||
*
|
||||
* @param int|string $userId
|
||||
* @param string $username
|
||||
*
|
||||
* @return string|bool return user token as string or bool(FALSE) if not supported.
|
||||
*/
|
||||
public function getUserToken(int|string $userId, string $username): string|bool;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user