mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Set access tokens TTL depending on the requested scopes
This commit is contained in:
@@ -25,7 +25,7 @@ class Component extends BaseComponent {
|
||||
$authCodesRepo = new Repositories\AuthCodeRepository();
|
||||
$refreshTokensRepo = new Repositories\RefreshTokenRepository();
|
||||
|
||||
$accessTokenTTL = CarbonInterval::day();
|
||||
$accessTokenTTL = CarbonInterval::days(2);
|
||||
|
||||
$authServer = new AuthorizationServer(
|
||||
$clientsRepo,
|
||||
|
Reference in New Issue
Block a user