Interface OidcConfig.TokenCache

Enclosing interface:
OidcConfig

public static interface OidcConfig.TokenCache
Default TokenIntrospection and UserInfo cache configuration.
  • Method Details

    • maxSize

      @WithDefault("0") int maxSize()
      Maximum number of cache entries. Set it to a positive value if the cache has to be enabled.
    • timeToLive

      @WithDefault("3M") Duration timeToLive()
      Maximum amount of time a given cache entry is valid for.
    • cleanUpTimerInterval

      Optional<Duration> cleanUpTimerInterval()
      Clean up timer interval. If this property is set then a timer will check and remove the stale entries periodically.