function openid_openid_normalization_method_info

Implements hook_openid_normalization_method_info().

Define standard normalization methods.

File

modules/openid/openid.module, line 579

Code

function openid_openid_normalization_method_info() {
    // OpenID Authentication 2.0, section 7.2:
    // If the User-supplied Identifier looks like an XRI, treat it as such;
    // otherwise treat it as an HTTP URL.
    return array(
        'xri' => '_openid_xri_normalize',
        'url' => '_openid_url_normalize',
    );
}

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