mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-18 02:59:45 +05:30
Merge branch 'develop' of github.com:thephpleague/oauth2-server into develop
This commit is contained in:
commit
f01cf7ef2f
@ -13,7 +13,7 @@ class ScopeStorage extends Adapter implements ScopeInterface
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function get($scope, $grantType = null)
|
||||
public function get($scope, $grantType = null, $clientId = null)
|
||||
{
|
||||
$result = Capsule::table('oauth_scopes')
|
||||
->where('id', $scope)
|
||||
|
@ -215,6 +215,8 @@ class AuthCodeGrant extends AbstractGrant
|
||||
}
|
||||
|
||||
$session = $code->getSession();
|
||||
$session->associateClient($client);
|
||||
|
||||
$authCodeScopes = $code->getScopes();
|
||||
|
||||
// Generate the access token
|
||||
|
Loading…
Reference in New Issue
Block a user