We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7fe16e2 + ff677c5 commit b83386eCopy full SHA for b83386e
src/OauthCredentialManager.php
@@ -87,7 +87,7 @@ public function refresh()
87
88
public function store(AccessTokenInterface $token, $tenantId = null)
89
{
90
- $this->cache->set($this->cacheKey, [
+ $this->cache->forever($this->cacheKey, [
91
'token' => $token->getToken(),
92
'refresh_token' => $token->getRefreshToken(),
93
'id_token' => $token->getValues()['id_token'],
@@ -121,4 +121,4 @@ protected function data($key = null)
121
$cacheData = $this->cache->get($this->cacheKey);
122
return empty($key) ? $cacheData : ($cacheData[$key] ?? null);
123
}
124
-}
+}
0 commit comments