Interface OAuth2RuntimeConfig


@ConfigMapping(prefix="quarkus.oauth2") @ConfigRoot(phase=RUN_TIME) public interface OAuth2RuntimeConfig
See https://docs.wildfly.org/14/WildFly_Elytron_Security.html#validating-oauth2-bearer-tokens
  • Method Details

    • clientId

      Optional<String> clientId()
      The OAuth2 client id used to validate the token. Mandatory if the extension is enabled.
    • clientSecret

      Optional<String> clientSecret()
      The OAuth2 client secret used to validate the token. Mandatory if the extension is enabled.
    • introspectionUrl

      Optional<String> introspectionUrl()
      The OAuth2 introspection endpoint URL used to validate the token and gather the authentication claims. Mandatory if the extension is enabled.
    • caCertFile

      Optional<String> caCertFile()
      The OAuth2 server certificate file. Warning: this is not supported in native mode where the certificate must be included in the truststore used during the native image generation, see Using SSL With Native Executables.