You are here

function openid_openid_normalization_method_info in Drupal 7

Implements hook_openid_normalization_method_info().

Define standard normalization methods.

File

modules/openid/openid.module, line 579
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',
  );
}