function hook_openid_discovery_method_info_alter

Allow modules to alter discovery methods.

Related topics

1 invocation of hook_openid_discovery_method_info_alter()
openid_discovery in drupal/core/modules/openid/openid.module
Perform discovery on a claimed ID to determine the OpenID provider endpoint.

File

drupal/core/modules/openid/openid.api.php, line 72
Hooks provided by the OpenID module.

Code

function hook_openid_discovery_method_info_alter(&$methods) {

  // Remove XRI discovery scheme.
  unset($methods['xri']);
}