You are here

function auth0_theme in Auth0 Single Sign On 8

Same name and namespace in other branches
  1. 8.2 auth0.module \auth0_theme()
  2. 7.2 auth0.module \auth0_theme()

Replace a form with the lock widget.

File

./auth0.module, line 10
Module definition

Code

function auth0_theme() {
  return array(
    'auth0_login' => array(
      'template' => 'auth0-login',
      'variables' => array(
        'domain' => NULL,
        'clientID' => NULL,
        'state' => NULL,
        'showSignup' => NULL,
        'widgetCdn' => NULL,
        'loginCSS' => NULL,
        'callbackURL' => NULL,
        'lockExtraSettings' => '{}',
      ),
    ),
  );
}