mirror of
https://github.com/elyby/accounts.git
synced 2024-12-02 11:41:05 +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->setAuthCodeStorage(new AuthCodeStorage());
|
||||||
$authServer->setRefreshTokenStorage(new RefreshTokenStorage());
|
$authServer->setRefreshTokenStorage(new RefreshTokenStorage());
|
||||||
$authServer->setScopeDelimiter(',');
|
$authServer->setScopeDelimiter(',');
|
||||||
|
$authServer->setAccessTokenTTL(86400); // 1d
|
||||||
|
|
||||||
$this->_authServer = $authServer;
|
$this->_authServer = $authServer;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user