Module: Auth0::Api::V2::Branding

Included in:
Auth0::Api::V2
Defined in:
lib/auth0/api/v2/branding.rb

Overview

Methods to use the branding endpoints

Instance Method Summary collapse

Instance Method Details

#brandingjson Also known as: get_branding

Retrieve branding settings.

Returns:

  • (json)

    Returns branding settings.

See Also:



12
13
14
# File 'lib/auth0/api/v2/branding.rb', line 12

def branding()
  get(branding_path)
end

#branding_templates_for_universal_loginjson Also known as: get_branding_templates_for_universal_login

Get template for New Universal Login Experience

Returns:

  • (json)

    Returns branding settings.

See Also:



31
32
33
# File 'lib/auth0/api/v2/branding.rb', line 31

def 
  get(templates_path)
end

#delete_branding_templates_for_universal_loginObject

Delete template for New Universal Login Experience



38
39
40
# File 'lib/auth0/api/v2/branding.rb', line 38

def 
  delete(templates_path)
end

#patch_branding(body = {}) ⇒ json Also known as: update_branding

Update branding settings.

Parameters:

  • body (hash) (defaults to: {})

    the branding settings to update

Returns:

  • (json)

    Returns branding settings.

See Also:



22
23
24
# File 'lib/auth0/api/v2/branding.rb', line 22

def patch_branding(body = {})
  patch(branding_path, body)
end

#put_branding_templates_for_universal_login(body = {}) ⇒ json Also known as: set_branding_templates_for_universal_login

Set template for New Universal Login Experience

Parameters:

  • body (hash) (defaults to: {})

    the branding settings to update

Returns:

  • (json)

    Returns branding settings.

See Also:



47
48
49
# File 'lib/auth0/api/v2/branding.rb', line 47

def (body = {})
  put(templates_path, body)
end