mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-26 06:59: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;
|
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
|
* Enable a grant type on the server
|
||||||
*
|
*
|
||||||
@ -188,8 +168,7 @@ class Server implements EmitterAwareInterface
|
|||||||
$tokenResponse = $grantType->respondToRequest(
|
$tokenResponse = $grantType->respondToRequest(
|
||||||
$request,
|
$request,
|
||||||
$this->grantResponseTypes[$grantType->getIdentifier()],
|
$this->grantResponseTypes[$grantType->getIdentifier()],
|
||||||
$this->grantTypeAccessTokenTTL[$grantType->getIdentifier()],
|
$this->grantTypeAccessTokenTTL[$grantType->getIdentifier()]
|
||||||
$this->getScopeDelimiterString()
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user