Interface OidcClientFilterConfig


@ConfigMapping(prefix="quarkus.resteasy-client-oidc-filter") @ConfigRoot(phase=BUILD_AND_RUN_TIME_FIXED) public interface OidcClientFilterConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    Name of the configured OidcClient used by the OidcClientRequestFilter.
    boolean
    If Quarkus should refresh the access token after the MP REST client request results in 401 Unauthorized error.
    boolean
    Enable OidcClientRequestFilter for all the injected MP RestClient implementations.
  • Method Details

    • registerFilter

      @WithDefault("false") boolean registerFilter()
      Enable OidcClientRequestFilter for all the injected MP RestClient implementations. If this property is disabled then OidcClientRequestFilter has to be registered as an MP RestClient provider.
    • clientName

      Optional<String> clientName()
      Name of the configured OidcClient used by the OidcClientRequestFilter. You can override this configuration for individual MP RestClient with the `io.quarkus.oidc.client.filter.OidcClientFilter` annotation.
    • refreshOnUnauthorized

      @WithDefault("false") boolean refreshOnUnauthorized()
      If Quarkus should refresh the access token after the MP REST client request results in 401 Unauthorized error. The refresh can be useful when the access token can be revoked by other services while the access token still appears valid locally.