public function ServicesClientConnectionBasicAuth::configForm in Services Client 7.2
Same name and namespace in other branches
- 7 services_client_connection/plugins/ServicesClientConnectionBasicAuth.inc \ServicesClientConnectionBasicAuth::configForm()
Implements configForm().
Overrides ServicesClientConnectionPlugin::configForm
File
- services_client_connection/
plugins/ ServicesClientConnectionBasicAuth.inc, line 13 - Session authentication for 3.x version
Class
- ServicesClientConnectionBasicAuth
- @file Session authentication for 3.x version
Code
public function configForm(&$form, &$form_state) {
$form['username'] = array(
'#type' => 'textfield',
'#title' => t('Username'),
'#default_value' => isset($this->config['username']) ? $this->config['username'] : '',
);
$form['password'] = array(
'#type' => 'textfield',
'#title' => t('Password'),
'#default_value' => isset($this->config['password']) ? $this->config['password'] : '',
);
}