function openid_redirect
7.x openid.inc | openid_redirect($url, $message) |
6.x openid.inc | openid_redirect($url, $message) |
Creates a js auto-submit redirect for (for the 2.x protocol)
1 call to openid_redirect()
- openid_begin in drupal-6.x/
modules/ openid/ openid.module - The initial step of OpenID authentication responsible for the following:
File
- drupal-6.x/
modules/ openid/ openid.inc, line 42 - OpenID utility functions.
Code
function openid_redirect($url, $message) {
$output = '<html><head><title>' . t('OpenID redirect') . "</title></head>\n<body>";
$output .= drupal_get_form('openid_redirect_form', $url, $message);
$output .= '<script type="text/javascript">document.getElementById("openid-redirect-form").submit();</script>';
$output .= "</body></html>\n";
print $output;
exit;
}