You are here

function auth0_library_info_build in Auth0 Single Sign On 8.2

Implements hook_library_info_build().

File

./auth0.module, line 48
Module definition

Code

function auth0_library_info_build() {
  $config = \Drupal::service('config.factory')
    ->get('auth0.settings');
  return [
    'auth0.widget' => [
      'js' => [
        $config
          ->get('auth0_widget_cdn') => [
          'type' => 'external',
        ],
      ],
    ],
  ];
}