remove scopedelimiter parameter

This commit is contained in:
Julián Gutiérrez 2016-01-17 17:01:08 +01:00
parent 5fcb47d66a
commit 6cffbfe33b
3 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ class ClientCredentialsGrant extends AbstractGrant
) {
// Validate request
$client = $this->validateClient($request);
$scopes = $this->validateScopes($request, $scopeDelimiter, $client);
$scopes = $this->validateScopes($request, $client);
// Issue and persist access token
$accessToken = $this->issueAccessToken($tokenTTL, $client, $client->getIdentifier(), $scopes);

View File

@ -64,7 +64,7 @@ class PasswordGrant extends AbstractGrant
// Validate request
$client = $this->validateClient($request);
$user = $this->validateUser($request);
$scopes = $this->validateScopes($request, $scopeDelimiter, $client);
$scopes = $this->validateScopes($request, $client);
// Issue and persist new tokens
$accessToken = $this->issueAccessToken($tokenTTL, $client, $user->getIdentifier(), $scopes);

View File

@ -54,7 +54,7 @@ class RefreshTokenGrant extends AbstractGrant
) {
$client = $this->validateClient($request);
$oldRefreshToken = $this->validateOldRefreshToken($request, $client->getIdentifier());
$scopes = $this->validateScopes($request, $scopeDelimiter, $client);
$scopes = $this->validateScopes($request, $client);
// If no new scopes are requested then give the access token the original session scopes
if (count($scopes) === 0) {