mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-25 22:49:49 +05:30
Scope delimiter string is no longer configurable
This commit is contained in:
parent
ad05a5cae6
commit
a4ce1e510e
@ -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()]
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user