You are here

function clients_connection_drupal_services_rest_7::credentialsProperties in Web Service Clients 7.3

Declare an array of properties which should be treated as credentials.

This lets the credentials storage plugin know which configuration properties to take care of.

Return value

A flat array of property names.

Overrides clients_connection_base::credentialsProperties

File

connections/clients_drupal_rest/clients_drupal_rest.inc, line 23
Contains classes for Client connections handlers.

Class

clients_connection_drupal_services_rest_7
Class for Drupal client connections, REST D7.

Code

function credentialsProperties() {
  return array(
    'username',
    'password',
  );
}