Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ca067a3f authored by theronakpatel's avatar theronakpatel
Browse files

6 hours

parent 9e7bc980
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -37,7 +37,7 @@ class SSOService {
	private const ADMIN_TOKEN_ENDPOINT = '/auth/realms/master/protocol/openid-connect/token';
	private const ADMIN_TOKEN_ENDPOINT = '/auth/realms/master/protocol/openid-connect/token';
	private const USERS_ENDPOINT = '/users';
	private const USERS_ENDPOINT = '/users';
	private const CREDENTIALS_ENDPOINT = '/users/{USER_ID}/credentials';
	private const CREDENTIALS_ENDPOINT = '/users/{USER_ID}/credentials';
	private const CLIENTS_CACHE_TTL = 24 * 3600; // 24 hours
	private const CLIENTS_CACHE_TTL = 6 * 3600; // 6 hours


	public function __construct($appName, IConfig $config, CurlService $curlService, ICrypto $crypto, IFactory $l10nFactory, IUserManager $userManager, TwoFactorMapper $twoFactorMapper, ILogger $logger, ICacheFactory $cacheFactory) {
	public function __construct($appName, IConfig $config, CurlService $curlService, ICrypto $crypto, IFactory $l10nFactory, IUserManager $userManager, TwoFactorMapper $twoFactorMapper, ILogger $logger, ICacheFactory $cacheFactory) {
		$this->appName = $appName;
		$this->appName = $appName;