Add tests for the legacy tokens

This commit is contained in:
ErickSkrauch
2019-09-23 00:53:13 +03:00
parent cf62c686b1
commit a148da2ecf
17 changed files with 222 additions and 52 deletions

View File

@ -32,7 +32,7 @@ class LegacyOAuth2Identity implements IdentityInterface {
*/
private $session = false;
private function __construct(string $accessToken, string $sessionId, array $scopes) {
private function __construct(string $accessToken, int $sessionId, array $scopes) {
$this->accessToken = $accessToken;
$this->sessionId = $sessionId;
$this->scopes = $scopes;