re-written how we handle plex access token generation. to handle the edge case of #325

This commit is contained in:
Abdulmhsen B. A. A
2023-08-03 18:14:37 +03:00
parent 12ffc596af
commit e94e385d13
9 changed files with 412 additions and 186 deletions

View File

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