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",
forRemoval=true)
public static class OidcTenantConfig.Jwks
extends Object
implements OidcTenantConfig.Jwks
Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintDeprecated, for removal: This API element is subject to removal in a future version.Maximum number of JWK keys that can be cached.Deprecated, for removal: This API element is subject to removal in a future version.Number of minutes a JWK key can be cached for.Deprecated, for removal: This API element is subject to removal in a future version.Cache timer interval.booleanDeprecated, for removal: This API element is subject to removal in a future version.If JWK verification keys should be fetched at the moment a connection to the OIDC provider is initialized.booleanDeprecated, for removal: This API element is subject to removal in a future version.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
ConstructorsConstructorDescriptionJwks()Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionintDeprecated, for removal: This API element is subject to removal in a future version.Maximum number of JWK keys that can be cached.Deprecated, for removal: This API element is subject to removal in a future version.Number of minutes a JWK key can be cached for.Deprecated, for removal: This API element is subject to removal in a future version.Cache timer interval.intDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.booleanisTryAll()Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.If JWK verification keys should be fetched at the moment a connection to the OIDC provider is initialized.voidsetCacheSize(int cacheSize) Deprecated, for removal: This API element is subject to removal in a future version.voidsetCacheTimeToLive(Duration cacheTimeToLive) Deprecated, for removal: This API element is subject to removal in a future version.voidsetCleanUpTimerInterval(Duration cleanUpTimerInterval) Deprecated, for removal: This API element is subject to removal in a future version.voidsetResolveEarly(boolean resolveEarly) Deprecated, for removal: This API element is subject to removal in a future version.voidsetTryAll(boolean fallbackToTryAll) Deprecated, for removal: This API element is subject to removal in a future version.booleantryAll()Deprecated, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.Maximum number of JWK keys that can be cached. This property is ignored if theresolveEarlyproperty is set to true. -
cacheTimeToLive
Deprecated, for removal: This API element is subject to removal in a future version.Number of minutes a JWK key can be cached for. This property is ignored if theresolveEarlyproperty is set to true. -
cleanUpTimerInterval
Deprecated, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getCacheSize
public int getCacheSize()Deprecated, for removal: This API element is subject to removal in a future version. -
setCacheSize
public void setCacheSize(int cacheSize) Deprecated, for removal: This API element is subject to removal in a future version. -
getCacheTimeToLive
Deprecated, for removal: This API element is subject to removal in a future version. -
setCacheTimeToLive
Deprecated, for removal: This API element is subject to removal in a future version. -
getCleanUpTimerInterval
Deprecated, for removal: This API element is subject to removal in a future version. -
setCleanUpTimerInterval
Deprecated, for removal: This API element is subject to removal in a future version. -
isResolveEarly
public boolean isResolveEarly()Deprecated, for removal: This API element is subject to removal in a future version. -
setResolveEarly
public void setResolveEarly(boolean resolveEarly) Deprecated, for removal: This API element is subject to removal in a future version. -
isTryAll
public boolean isTryAll()Deprecated, for removal: This API element is subject to removal in a future version. -
setTryAll
public void setTryAll(boolean fallbackToTryAll) Deprecated, for removal: This API element is subject to removal in a future version. -
resolveEarly
public boolean resolveEarly()Deprecated, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.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