mirror of
https://github.com/lukaszraczylo/traefikoidc.git
synced 2026-10-19 04:47:48 +00:00
Additional micro fixes and cleanups.
This commit is contained in:
@@ -62,6 +62,9 @@ type JWKCacheInterface interface {
|
||||
// Returns:
|
||||
// - A pointer to the JWKSet containing the keys.
|
||||
// - An error if fetching fails or the response cannot be decoded.
|
||||
|
||||
// NewJWKCache creates a new JWK cache with default configuration.
|
||||
// It initializes a cache with a 1-hour lifetime and maximum size of 100 entries.
|
||||
func NewJWKCache() *JWKCache {
|
||||
cache := &JWKCache{
|
||||
CacheLifetime: 1 * time.Hour,
|
||||
|
||||
Reference in New Issue
Block a user