Class OAuthTokenValidationConfigResolver

java.lang.Object
org.apache.camel.spi.OAuthTokenValidationConfigResolver

public final class OAuthTokenValidationConfigResolver extends Object
Resolves OAuthTokenValidationConfig instances from Camel OAuth profile properties.
Since:
4.21
  • Method Details

    • resolveProfileConfig

      public static OAuthTokenValidationConfig resolveProfileConfig(CamelContext context, String profileName)
      Resolves a named token validation profile from Camel properties.
      Parameters:
      context - the CamelContext to resolve properties from
      profileName - the named profile
      Returns:
      the resolved profile configuration
      Since:
      4.21
    • resolveDefaultProfileConfig

      public static OAuthTokenValidationConfig resolveDefaultProfileConfig(CamelContext context)
      Resolves the default token validation profile from Camel properties.
      Parameters:
      context - the CamelContext to resolve properties from
      Returns:
      the resolved profile configuration
      Since:
      4.21