function openid_openid_normalization_method_info

7.x openid.module openid_openid_normalization_method_info()

Implements hook_openid_normalization_method_info().

Define standard normalization methods.

File

drupal-7.x/modules/openid/openid.module, line 573
Implement OpenID Relying Party support for Drupal

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',
  );
}