Package io.quarkus.oidc
Class OidcTenantConfig.Jwks
java.lang.Object
io.quarkus.oidc.OidcTenantConfig.Jwks
- Enclosing class:
- OidcTenantConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionintMaximum number of JWK keys that can be cached.Number of minutes a JWK key can be cached for.Cache timer interval.booleanIf JWK verification keys should be fetched at the moment a connection to the OIDC provider is initialized. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanvoidsetCacheSize(int cacheSize) voidsetCacheTimeToLive(Duration cacheTimeToLive) voidsetCleanUpTimerInterval(Duration cleanUpTimerInterval) voidsetResolveEarly(boolean resolveEarly)
-
Field Details
-
resolveEarly
If JWK verification keys should be fetched at the moment a connection to the OIDC provider is initialized. Disabling this property delays the key acquisition until the moment the current token has to be verified. Typically it can only be necessary if the token or other telated request properties provide an additional context which is required to resolve the keys correctly. -
cacheSize
Maximum number of JWK keys that can be cached. This property is ignored if theresolveEarlyproperty is set to true. -
cacheTimeToLive
Number of minutes a JWK key can be cached for. This property is ignored if theresolveEarlyproperty is set to true. -
cleanUpTimerInterval
Cache timer interval. If this property is set, a timer checks and removes the stale entries periodically. This property is ignored if theresolveEarlyproperty is set to true.
-
-
Constructor Details
-
Jwks
public Jwks()
-
-
Method Details
-
getCacheSize
public int getCacheSize() -
setCacheSize
public void setCacheSize(int cacheSize) -
getCacheTimeToLive
-
setCacheTimeToLive
-
getCleanUpTimerInterval
-
setCleanUpTimerInterval
-
isResolveEarly
public boolean isResolveEarly() -
setResolveEarly
public void setResolveEarly(boolean resolveEarly)
-