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 Details

    • 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.
  • Constructor Details

    • TokenCache

      public TokenCache()