Class BrandingEntity

java.lang.Object
com.auth0.client.mgmt.BrandingEntity

public class BrandingEntity extends Object
Class that provides an implementation of the Branding methods of the Management API as defined in https://auth0.com/docs/api/management/v2#!/Branding

This class is not thread-safe.

See Also:
  • Field Details

    • client

      protected final Auth0HttpClient client
    • baseUrl

      protected final okhttp3.HttpUrl baseUrl
    • tokenProvider

      protected final TokenProvider tokenProvider
  • Method Details

    • getBrandingSettings

      public Request<BrandingSettings> getBrandingSettings()
      Requests the branding settings for this tenant. See https://auth0.com/docs/api/management/v2#!/Branding/get_branding
      Returns:
      a Request to execute.
    • updateBrandingSettings

      public Request<BrandingSettings> updateBrandingSettings(BrandingSettings settings)
      Update the branding settings for this tenant. See https://auth0.com/docs/api/management/v2#!/Branding/patch_branding
      Parameters:
      settings - the new branding settings.
      Returns:
      a Request to execute.
    • getUniversalLoginTemplate

      public Request<UniversalLoginTemplate> getUniversalLoginTemplate()
      Gets the template for the universal login page. See https://auth0.com/docs/api/management/v2#!/Branding/get_universal_login
      Returns:
      a Request to execute.
    • deleteUniversalLoginTemplate

      public Request<Void> deleteUniversalLoginTemplate()
      Delete the template for the universal login page. See https://auth0.com/docs/api/management/v2#!/Branding/delete_universal_login
      Returns:
      a Request to execute.
    • setUniversalLoginTemplate

      public Request<Void> setUniversalLoginTemplate(UniversalLoginTemplateUpdate template)
      Sets the template for the universal login page. See https://auth0.com/docs/api/management/v2#!/Branding/put_universal_login
      Returns:
      a Request to execute.
    • voidRequest

      protected Request<Void> voidRequest(HttpMethod method, Consumer<com.auth0.client.mgmt.RequestBuilder<Void>> customizer)
    • request

      protected <T> Request<T> request(HttpMethod method, com.fasterxml.jackson.core.type.TypeReference<T> target, Consumer<com.auth0.client.mgmt.RequestBuilder<T>> customizer)