function _openid_xri_normalize

OpenID normalization method: normalize XRI identifiers.

1 string reference to '_openid_xri_normalize'
openid_openid_normalization_method_info in modules/openid/openid.module
Implements hook_openid_normalization_method_info().

File

modules/openid/openid.inc, line 303

Code

function _openid_xri_normalize($identifier) {
    if (_openid_is_xri($identifier)) {
        if (stristr($identifier, 'xri://') !== FALSE) {
            $identifier = substr($identifier, 6);
        }
        return $identifier;
    }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.