Package io.quarkus.oidc.runtime
Class OidcConfig.TokenCache
- java.lang.Object
-
- io.quarkus.oidc.runtime.OidcConfig.TokenCache
-
- Enclosing class:
- OidcConfig
public static class OidcConfig.TokenCache extends Object
Default TokenIntrospection and UserInfo cache configuration.
-
-
Field Summary
Fields Modifier and Type Field Description Optional<Duration>
cleanUpTimerInterval
Clean up timer interval.int
maxSize
Maximum number of cache entries.Duration
timeToLive
Maximum amount of time a given cache entry is valid for.
-
Constructor Summary
Constructors Constructor Description TokenCache()
-
-
-
Field Detail
-
maxSize
@ConfigItem(defaultValue="0") public int maxSize
Maximum number of cache entries. Set it to a positive value if the cache has to be enabled.
-
timeToLive
@ConfigItem(defaultValue="3M") public Duration timeToLive
Maximum amount of time a given cache entry is valid for.
-
cleanUpTimerInterval
@ConfigItem public Optional<Duration> cleanUpTimerInterval
Clean up timer interval. If this property is set then a timer will check and remove the stale entries periodically.
-
-