_openid_normalize

Versions
6 – 7
_openid_normalize($identifier)

Normalize the given identifier as per spec.

▾ 2 functions call _openid_normalize()

openid_begin in modules/openid/openid.module
The initial step of OpenID authentication responsible for the following:
openid_user_add_validate in modules/openid/openid.pages.inc

Code

modules/openid/openid.inc, line 93

<?php
function _openid_normalize($identifier) {
  if (_openid_is_xri($identifier)) {
    return _openid_normalize_xri($identifier);
  }
  else {
    return _openid_normalize_url($identifier);
  }
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.