mirror of
https://github.com/elyby/accounts.git
synced 2024-11-30 02:32:26 +05:30
Увеличено время жизни access_token
This commit is contained in:
parent
f7e2ebdf27
commit
f9842acf29
@ -48,6 +48,7 @@ class Component extends \yii\base\Component {
|
||||
$authServer->setAuthCodeStorage(new AuthCodeStorage());
|
||||
$authServer->setRefreshTokenStorage(new RefreshTokenStorage());
|
||||
$authServer->setScopeDelimiter(',');
|
||||
$authServer->setAccessTokenTTL(86400); // 1d
|
||||
|
||||
$this->_authServer = $authServer;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user