mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-01-07 12:33:53 +05:30
Show default parameters
This commit is contained in:
parent
707354348a
commit
92e217d0ac
@ -338,7 +338,7 @@ class Authorization
|
|||||||
*
|
*
|
||||||
* @param string $scopeDelimeter
|
* @param string $scopeDelimeter
|
||||||
*/
|
*/
|
||||||
public function setScopeDelimeter($scopeDelimeter)
|
public function setScopeDelimeter($scopeDelimeter = ' ')
|
||||||
{
|
{
|
||||||
$this->scopeDelimeter = $scopeDelimeter;
|
$this->scopeDelimeter = $scopeDelimeter;
|
||||||
}
|
}
|
||||||
@ -356,7 +356,7 @@ class Authorization
|
|||||||
* Set the TTL for an access token
|
* Set the TTL for an access token
|
||||||
* @param int $accessTokenTTL The new TTL
|
* @param int $accessTokenTTL The new TTL
|
||||||
*/
|
*/
|
||||||
public function setAccessTokenTTL($accessTokenTTL)
|
public function setAccessTokenTTL($accessTokenTTL = 3600)
|
||||||
{
|
{
|
||||||
$this->accessTokenTTL = $accessTokenTTL;
|
$this->accessTokenTTL = $accessTokenTTL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user