You are here

public function ServicesClientConnectionSessionAuth::configFormSubmit in Services Client 7.2

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

Implements configFormSubmit().

Overrides ServicesClientConnectionPlugin::configFormSubmit

File

services_client_connection/plugins/ServicesClientConnectionSessionAuth.inc, line 57
Session authentication for 3.x version

Class

ServicesClientConnectionSessionAuth
@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'];
  $form_state['config']['token'] = $form_state['values']['token'];
}