jwt icon indicating copy to clipboard operation
jwt copied to clipboard

The Hyperf JWT package.

Results 13 jwt issues
Sort by recently updated
recently updated
newest added

我测试 refresh 兑换 token 在redis 里面 过期时间是 refresh_ttl 14天。。。 这样会在段时间 会有太多 这个能不能 将过期时间 减少 比如 阶梯式的 2小时 ? 比如,定义一个 刷新最近时间

private function resolveBlacklist(): Blacklist { $storageClass = $this->config['blacklist_storage'] ?? HyperfCache::class; $storage = make($storageClass, [ 'tag' => 'jwt.default', ]); $gracePeriod = $this->config['blacklist_grace_period']; $refreshTtl = $this->config['refresh_ttl']; return make(Blacklist::class, compact('storage', 'gracePeriod', 'refreshTtl')); }...