public function edit() { $this->set('form', \Loader::helper('form')); $this->set('apikey', \Config::get('auth.community.appid', '')); $this->set('apisecret', \Config::get('auth.community.secret', '')); $list = new \GroupList(); $list->includeAllGroups(); $this->set('groups', $list->getResults()); }
public function edit() { $this->set('form', \Loader::helper('form')); $this->set('apikey', \Config::get('auth.worldskills.appid', '')); $this->set('apisecret', \Config::get('auth.worldskills.secret', '')); $this->set('rolesApplicationCode', \Config::get('auth.worldskills.roles_application_code', '')); $list = new \GroupList(); $list->includeAllGroups(); $this->set('groups', $list->getResults()); }
public function edit() { $this->set('form', \Loader::helper('form')); $this->set('apikey', \Config::get('auth.google.appid', '')); $this->set('apisecret', \Config::get('auth.google.secret', '')); $list = new \GroupList(); $list->includeAllGroups(); $this->set('groups', $list->getResults()); $this->set('whitelist', \Config::get('auth.google.email_filters.whitelist', array())); $blacklist = array_map(function ($entry) { return json_encode($entry); }, \Config::get('auth.google.email_filters.blacklist', array())); $this->set('blacklist', $blacklist); }
/** * Displays the form for editing the authentication method * * Saving the form calls saveAuthenticationType() */ public function edit() { $this->set('form', \Loader::helper('form')); $this->set('domain', \Config::get('auth.auth0.domain', '')); $this->set('client_id', \Config::get('auth.auth0.client_id', '')); $this->set('client_secret', \Config::get('auth.auth0.client_secret', '')); $this->set('registration_enabled', \Config::get('auth.auth0.registration_enabled', '')); $this->set('registration_group', \Config::get('auth.auth0.registration_group', '')); $list = new \GroupList(); $list->includeAllGroups(); $this->set('groups', $list->getResults()); // $this->set('whitelist', \Config::get('auth.auth0.email_filters.whitelist', array())); // $blacklist = array_map(function($entry) { // return json_encode($entry); // }, \Config::get('auth.auth0.email_filters.blacklist', array())); // $this->set('blacklist', $blacklist); }