You are here

function services_api_key_auth_menu in Services API Key Authentication 7

Implements hook_menu().

File

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

Code

function services_api_key_auth_menu() {
  return array(
    'admin/structure/services/api_key_settings' => array(
      'title' => 'API Key settings',
      'description' => 'Set user role for user list in API Key authentication settings.',
      'page callback' => 'drupal_get_form',
      'page arguments' => array(
        'services_api_key_auth_admin_settings',
      ),
      'access arguments' => array(
        'administer services',
      ),
      'type' => MENU_LOCAL_TASK,
    ),
  );
}