function cas_test_menu in CAS 6.3
Same name and namespace in other branches
- 7 tests/cas_test.module \cas_test_menu()
Implements hook_menu().
File
- tests/
cas_test.module, line 49 - Dummy module implementing a CAS Server.
Code
function cas_test_menu() {
$items = array();
$items['cas_test/login'] = array(
'page callback' => 'cas_test_login',
'title' => 'CAS Login',
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
$items['cas_test/validate'] = array(
'page callback' => 'cas_test_validate',
'title' => 'CAS Validate',
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
$items['cas_test/serviceValidate'] = array(
'page callback' => 'cas_test_service_validate',
'title' => 'CAS Service Validate',
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
$items['cas_test/proxyValidate'] = array(
'page callback' => 'cas_test_service_validate',
'title' => 'CAS Proxy Ticket Validate',
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
$items['cas_test/logout'] = array(
'page callback' => 'cas_test_logout',
'title' => 'CAS Logout',
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
$items['cas_test/token'] = array(
'page callback' => 'cas_test_token_evaluate',
'title' => 'CAS Token Test',
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
return $items;
}