function account_sync_sso_menu in Account Sync 6
Same name and namespace in other branches
- 7.2 account_sync_sso/account_sync_sso.module \account_sync_sso_menu()
Implementation of hook_menu().
File
- account_sync_sso/
account_sync_sso.module, line 19 - Handle single signon functionality for the account sync module
Code
function account_sync_sso_menu() {
$items = array();
// Pass the username, timestamp, and hashed_pass
$items['sso/login/%/%/%'] = array(
'title' => 'Login',
'page callback' => 'account_sync_sso_login',
'page arguments' => array(
2,
3,
4,
),
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
$items['sso/goto/%'] = array(
'title' => 'SSO Redirect',
'page callback' => 'account_sync_sso_goto',
'page arguments' => array(
2,
),
'access arguments' => array(
'sync account',
),
'type' => MENU_CALLBACK,
);
return $items;
}