You are here

function services_api_key_auth_services_authentication_info in Services API Key Authentication 7

Implements hook_services_authentication_info().

File

./services_api_key_auth.module, line 10
Extend services to allow API key authentication on endpoints.

Code

function services_api_key_auth_services_authentication_info() {
  return array(
    'title' => t('API key authentication'),
    'description' => t('Enable API Key authentication for an endpoint.'),
    'authenticate_call' => 'services_api_key_auth_services_authenticate',
    'security_settings' => 'services_api_key_auth_services_settings_form',
  );
}