Additional micro fixes and cleanups.

This commit is contained in:
2025-06-24 18:48:02 +01:00
parent dbe3455f49
commit c2a81bc2df
10 changed files with 40 additions and 31 deletions
+3
View File
@@ -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,