Interface OAuth2BuildTimeConfig


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

    Modifier and Type
    Method
    Description
    boolean
    Determine if the OAuth2 extension is enabled.
    The claim that is used in the introspection endpoint response to load the roles.
  • Method Details

    • enabled

      @WithDefault("true") boolean enabled()
      Determine if the OAuth2 extension is enabled. Enabled by default if you include the elytron-security-oauth2 dependency, so this would be used to disable it.
    • roleClaim

      @WithDefault("scope") String roleClaim()
      The claim that is used in the introspection endpoint response to load the roles.