Увеличено время жизни access_token

This commit is contained in:
ErickSkrauch 2017-03-07 19:09:41 +03:00
parent f7e2ebdf27
commit f9842acf29

View File

@ -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;