We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1c853f commit 9e7377fCopy full SHA for 9e7377f
1 file changed
src/Service/Manager.php
@@ -82,6 +82,8 @@ protected function pushBlacklist(Token $token): void
82
83
$now = time();
84
$exp = $token->claims()->get('exp');
85
+ $ttl = $this->app->get('jwt.token')->getConfig()->getRefreshTTL();
86
+ $exp = $exp->modify("+{$ttl} sec");
87
$ttl = $exp->getTimestamp() - $now;
88
$tag = $store . '-' . $this->config->getBlacklist();
89
$key = $this->makeKey($store, $this->config->getBlacklist(), $jti, $token);
0 commit comments