Created
May 21, 2018 05:58
-
-
Save DavidOndrus/6fddcd4855c7d0d817b879baaf6c2511 to your computer and use it in GitHub Desktop.
old RefreshTokenGrant.php:respondToAccessTokenRequest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foreach ($scopes as $scope) { | |
if (in_array($scope->getIdentifier(), $oldRefreshToken['scopes']) === false) { | |
throw OAuthServerException::invalidScope($scope->getIdentifier()); | |
} | |
} | |
... | |
$accessToken = $this->issueAccessToken($accessTokenTTL, $client, $oldRefreshToken['user_id'], $scopes); | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment