function oauth2_client_test_menu in OAuth2 Client 7
Same name and namespace in other branches
- 7.2 tests/oauth2_client_test.module \oauth2_client_test_menu()
Implements hook_menu().
File
- tests/
oauth2_client_test.module, line 135 - Testing OAuth2 client functionality.
Code
function oauth2_client_test_menu() {
$items = array();
$items['oauth2/test'] = array(
'page callback' => 'oauth2_client_test_callback',
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
$items['oauth2/test-client-integration'] = array(
'page callback' => 'oauth2_client_test_client_integration',
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
$items['oauth2/test-authorized'] = array(
'page callback' => 'oauth2_client_test_authorized',
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
return $items;
}