BrandingManager

management. BrandingManager

BrandingManager Manages settings related to branding.

Constructor

new BrandingManager(options)

Source:
Parameters:
Name Type Description
options Object

The client options.

Name Type Attributes Description
baseUrl String

The URL of the API.

headers Object <optional>

Headers to be included in all requests.

retry Object <optional>

Retry Policy Config

Members

(inner) auth0RestClient :external:RestClient

Provides an abstraction layer for consuming the Branding endpoint.

Source:
Type:

Methods

getSettings(params, data, cbopt) → {Promise|undefined}

Get the branding settings..

Source:
Parameters:
Name Type Attributes Description
params Object

Branding parameters.

data Object

Branding data.

cb function <optional>

Callback function.

Returns:
Type:
Promise | undefined
Example
management.branding.getSettings(data, function (err, branding) {
  if (err) {
    // Handle error.
  }

// Branding
   console.log(branding);
});

updateSettings(params, data, cbopt) → {Promise|undefined}

Update the branding settings.

Source:
Parameters:
Name Type Attributes Description
params Object

Branding parameters.

data Object

Updated branding data.

cb function <optional>

Callback function.

Returns:
Type:
Promise | undefined
Example
management.branding.updateSettings(data, function (err, branding) {
  if (err) {
    // Handle error.
  }

// Updated branding
   console.log(branding);
});