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 Details

    • resolveEarly

      public boolean resolveEarly
      Deprecated.
      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 cacheSize
      Deprecated.
      Maximum number of JWK keys that can be cached. This property is ignored if the resolveEarly property is set to true.
    • cacheTimeToLive

      public Duration cacheTimeToLive
      Deprecated.
      Number of minutes a JWK key can be cached for. This property is ignored if the resolveEarly property is set to true.
    • cleanUpTimerInterval

      public Optional<Duration> cleanUpTimerInterval
      Deprecated.
      Cache timer interval. If this property is set, a timer checks and removes the stale entries periodically. This property is ignored if the resolveEarly property is set to true.
    • tryAll

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

    • Jwks

      public Jwks()
      Deprecated.
  • Method Details

    • getCacheSize

      public int getCacheSize()
      Deprecated.
    • setCacheSize

      public void setCacheSize(int cacheSize)
      Deprecated.
    • getCacheTimeToLive

      public Duration getCacheTimeToLive()
      Deprecated.
    • setCacheTimeToLive

      public void setCacheTimeToLive(Duration cacheTimeToLive)
      Deprecated.
    • getCleanUpTimerInterval

      public Optional<Duration> getCleanUpTimerInterval()
      Deprecated.
    • setCleanUpTimerInterval

      public void setCleanUpTimerInterval(Duration cleanUpTimerInterval)
      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.Jwks
      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.

      Specified by:
      resolveEarly in interface OidcTenantConfig.Jwks
    • cacheSize

      public int cacheSize()
      Deprecated.
      Description copied from interface: OidcTenantConfig.Jwks
      Maximum number of JWK keys that can be cached. This property is ignored if the OidcTenantConfig.Jwks.resolveEarly() property is set to true.
      Specified by:
      cacheSize in interface OidcTenantConfig.Jwks
    • cacheTimeToLive

      public Duration cacheTimeToLive()
      Deprecated.
      Description copied from interface: OidcTenantConfig.Jwks
      Number of minutes a JWK key can be cached for. This property is ignored if the OidcTenantConfig.Jwks.resolveEarly() property is set to true.
      Specified by:
      cacheTimeToLive in interface OidcTenantConfig.Jwks
    • cleanUpTimerInterval

      public Optional<Duration> cleanUpTimerInterval()
      Deprecated.
      Description copied from interface: OidcTenantConfig.Jwks
      Cache timer interval. If this property is set, a timer checks and removes the stale entries periodically. This property is ignored if the OidcTenantConfig.Jwks.resolveEarly() property is set to true.
      Specified by:
      cleanUpTimerInterval in interface OidcTenantConfig.Jwks
    • tryAll

      public boolean tryAll()
      Deprecated.
      Description copied from interface: OidcTenantConfig.Jwks
      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.
      Specified by:
      tryAll in interface OidcTenantConfig.Jwks