function account_sync_sso_goto in Account Sync 6
Same name and namespace in other branches
- 7.2 account_sync_sso/account_sync_sso.module \account_sync_sso_goto()
Redirect the user to the server they wish to login at.
1 string reference to 'account_sync_sso_goto'
- account_sync_sso_menu in account_sync_sso/
account_sync_sso.module - Implementation of hook_menu().
File
- account_sync_sso/
account_sync_sso.module, line 111 - Handle single signon functionality for the account sync module
Code
function account_sync_sso_goto($server) {
$url = account_sync_sso_login_generate_url();
if ($target_path = account_sync_target_path(func_get_args())) {
$target_path = '/' . $target_path;
}
drupal_goto('http://' . $server . '/' . $url . $target_path);
}