You are here

public function ServicesClientConnectionBasicAuth::configFormSubmit in Services Client 7

Same name and namespace in other branches
  1. 7.2 services_client_connection/plugins/ServicesClientConnectionBasicAuth.inc \ServicesClientConnectionBasicAuth::configFormSubmit()

Implements configFormSubmit().

Overrides ServicesClientConnectionPlugin::configFormSubmit

File

services_client_connection/plugins/ServicesClientConnectionBasicAuth.inc, line 30
Session authentication for 3.x version

Class

ServicesClientConnectionBasicAuth
@file Session authentication for 3.x version

Code

public function configFormSubmit(&$form, &$form_state) {
  parent::configFormSubmit($form, $form_state);
  $form_state['config']['username'] = $form_state['values']['username'];
  $form_state['config']['password'] = $form_state['values']['password'];
}