Scope delimiter string is no longer configurable

This commit is contained in:
Alex Bilbie 2016-01-17 13:53:18 +00:00
parent ad05a5cae6
commit a4ce1e510e

View File

@ -113,26 +113,6 @@ class Server implements EmitterAwareInterface
return $this->defaultAccessTokenTTL;
}
/**
* Set the delimiter string used to separate scopes in a request
*
* @param string $scopeDelimiterString
*/
public function setScopeDelimiterString($scopeDelimiterString)
{
$this->scopeDelimiterString = $scopeDelimiterString;
}
/**
* Get the delimiter string used to separate scopes in a request
*
* @return string
*/
protected function getScopeDelimiterString()
{
return $this->scopeDelimiterString;
}
/**
* Enable a grant type on the server
*
@ -188,8 +168,7 @@ class Server implements EmitterAwareInterface
$tokenResponse = $grantType->respondToRequest(
$request,
$this->grantResponseTypes[$grantType->getIdentifier()],
$this->grantTypeAccessTokenTTL[$grantType->getIdentifier()],
$this->getScopeDelimiterString()
$this->grantTypeAccessTokenTTL[$grantType->getIdentifier()]
);
}
}