You are here

function clients_connection_base::credentialsLoad in Web Service Clients 7.3

Load the credentials into the connection.

The credentials are loaded to a $connection->credentials array.

Note that we don't call this in __construct() because then they would be exported, which defeats the purpose.

3 calls to clients_connection_base::credentialsLoad()
clients_connection_drupal_services_6_2::call_user_login in connections/clients_drupal/clients_drupal.inc
Log in as the configured user.
clients_connection_drupal_services_7_3::callMethodArray in connections/clients_drupal/clients_drupal.inc
Call a remote method.
clients_connection_drupal_services_rest_7::userLogin in connections/clients_drupal_rest/clients_drupal_rest.inc
Log in as the configured user.

File

includes/clients.entity.inc, line 189
Provides base classes for clients handler entities.

Class

clients_connection_base
Base class for client connections.

Code

function credentialsLoad() {
  $credentials_storage_plugin = $this
    ->get_credentials_storage_plugin();
  $credentials_storage_plugin
    ->credentialsLoad($this);
}