Merge pull request #430 from juliangut/scopedelimiter

V5 - remove scopedelimiter parameter
This commit is contained in:
Alex Bilbie 2016-01-17 16:40:55 +00:00
commit 86b75edca0

View File

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