jwt icon indicating copy to clipboard operation
jwt copied to clipboard

ManagerFactory.php tag可配置

Open jonny77 opened this issue 3 years ago • 1 comments

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'));
} 

这个方法中的 'tag' => 'jwt.default', 建议改成可配置项 . 改成 jwt:default: 即可.

数据多起来的时候将会不便观看 image

jonny77 avatar Jun 18 '21 10:06 jonny77

下个版本增加

ericyzhu avatar Jul 30 '21 19:07 ericyzhu