function cas_server_menu in CAS 6.2
Same name and namespace in other branches
- 5.4 cas_server.module \cas_server_menu()
- 5.3 cas_server.module \cas_server_menu()
- 6.3 cas_server.module \cas_server_menu()
- 7 cas_server.module \cas_server_menu()
Implementation of hook_menu
File
- ./
cas_server.module, line 11 - Provides a protocol compliant version of CAS server 2.x
Code
function cas_server_menu() {
$items = array();
$items['cas/login'] = array(
'page callback' => 'cas_server_login',
'title' => t('CAS Login'),
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
$items['cas/validate'] = array(
'page callback' => 'cas_server_validate',
'title' => t('CAS Validate'),
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
$items['cas/serviceValidate'] = array(
'page callback' => 'cas_server_service_validate',
'title' => t('CAS Service Validate'),
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
$items['cas/proxyValidate'] = array(
'page callback' => 'cas_server_service_validate',
'title' => t('CAS Proxy Service Validate'),
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
$items['cas/logout'] = array(
'page callback' => 'cas_server_logout',
'title' => t('CAS Logout'),
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
return $items;
}