Package io.quarkus.oidc
Class OidcTenantConfig.Jwks
java.lang.Object
io.quarkus.oidc.OidcTenantConfig.Jwks
- All Implemented Interfaces:
OidcTenantConfig.Jwks
- Enclosing class:
- OidcTenantConfig
@Deprecated(since="3.18")
public static class OidcTenantConfig.Jwks
extends Object
implements OidcTenantConfig.Jwks
Deprecated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintDeprecated.Maximum number of JWK keys that can be cached.Deprecated.Number of minutes a JWK key can be cached for.Deprecated.Cache timer interval.booleanDeprecated.If JWK verification keys should be fetched at the moment a connection to the OIDC provider is initialized.booleanDeprecated.In case there is no key identifier ('kid') or certificate thumbprints ('x5t', 'x5t#S256') specified in the JOSE header and no key could be determined, check all available keys matching the token algorithm ('alg') header value. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.Maximum number of JWK keys that can be cached.Deprecated.Number of minutes a JWK key can be cached for.Deprecated.Cache timer interval.intDeprecated.Deprecated.Deprecated.booleanDeprecated.booleanisTryAll()Deprecated.booleanDeprecated.If JWK verification keys should be fetched at the moment a connection to the OIDC provider is initialized.voidsetCacheSize(int cacheSize) Deprecated.voidsetCacheTimeToLive(Duration cacheTimeToLive) Deprecated.voidsetCleanUpTimerInterval(Duration cleanUpTimerInterval) Deprecated.voidsetResolveEarly(boolean resolveEarly) Deprecated.voidsetTryAll(boolean fallbackToTryAll) Deprecated.booleantryAll()Deprecated.In case there is no key identifier ('kid') or certificate thumbprints ('x5t', 'x5t#S256') specified in the JOSE header and no key could be determined, check all available keys matching the token algorithm ('alg') header value.
-
Field Details
-
resolveEarly
public boolean resolveEarlyDeprecated.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
public int cacheSizeDeprecated.Maximum number of JWK keys that can be cached. This property is ignored if theresolveEarlyproperty is set to true. -
cacheTimeToLive
Deprecated.Number of minutes a JWK key can be cached for. This property is ignored if theresolveEarlyproperty is set to true. -
cleanUpTimerInterval
Deprecated.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. -
tryAll
public boolean tryAllDeprecated.In case there is no key identifier ('kid') or certificate thumbprints ('x5t', 'x5t#S256') specified in the JOSE header and no key could be determined, check all available keys matching the token algorithm ('alg') header value.
-
-
Constructor Details
-
Jwks
public Jwks()Deprecated.
-
-
Method Details
-
getCacheSize
public int getCacheSize()Deprecated. -
setCacheSize
public void setCacheSize(int cacheSize) Deprecated. -
getCacheTimeToLive
Deprecated. -
setCacheTimeToLive
Deprecated. -
getCleanUpTimerInterval
Deprecated. -
setCleanUpTimerInterval
Deprecated. -
isResolveEarly
public boolean isResolveEarly()Deprecated. -
setResolveEarly
public void setResolveEarly(boolean resolveEarly) Deprecated. -
isTryAll
public boolean isTryAll()Deprecated. -
setTryAll
public void setTryAll(boolean fallbackToTryAll) Deprecated. -
resolveEarly
public boolean resolveEarly()Deprecated.Description copied from interface:OidcTenantConfig.JwksIf 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.- Specified by:
resolveEarlyin interfaceOidcTenantConfig.Jwks
-
cacheSize
public int cacheSize()Deprecated.Description copied from interface:OidcTenantConfig.JwksMaximum number of JWK keys that can be cached. This property is ignored if theOidcTenantConfig.Jwks.resolveEarly()property is set to true.- Specified by:
cacheSizein interfaceOidcTenantConfig.Jwks
-
cacheTimeToLive
Deprecated.Description copied from interface:OidcTenantConfig.JwksNumber of minutes a JWK key can be cached for. This property is ignored if theOidcTenantConfig.Jwks.resolveEarly()property is set to true.- Specified by:
cacheTimeToLivein interfaceOidcTenantConfig.Jwks
-
cleanUpTimerInterval
Deprecated.Description copied from interface:OidcTenantConfig.JwksCache timer interval. If this property is set, a timer checks and removes the stale entries periodically. This property is ignored if theOidcTenantConfig.Jwks.resolveEarly()property is set to true.- Specified by:
cleanUpTimerIntervalin interfaceOidcTenantConfig.Jwks
-
tryAll
public boolean tryAll()Deprecated.Description copied from interface:OidcTenantConfig.JwksIn case there is no key identifier ('kid') or certificate thumbprints ('x5t', 'x5t#S256') specified in the JOSE header and no key could be determined, check all available keys matching the token algorithm ('alg') header value.- Specified by:
tryAllin interfaceOidcTenantConfig.Jwks
-
OidcTenantConfigBuilder.JwksBuilderbuilder