function _openid_normalize in Drupal 6
Normalize the given identifier as per spec.
3 calls to _openid_normalize()
- openid_begin in modules/
openid/ openid.module - The initial step of OpenID authentication responsible for the following:
- openid_complete in modules/
openid/ openid.module - Completes OpenID authentication by validating returned data from the OpenID Provider.
- openid_user_add_validate in modules/
openid/ openid.pages.inc
File
- modules/
openid/ openid.inc, line 93 - OpenID utility functions.
Code
function _openid_normalize($identifier) {
if (_openid_is_xri($identifier)) {
return _openid_normalize_xri($identifier);
}
else {
return _openid_normalize_url($identifier);
}
}