function hook_openid_discovery_method_info_alter

7.x openid.api.php hook_openid_discovery_method_info_alter(&$methods)

Allow modules to alter discovery methods.

Related topics

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

File

drupal-7.x/modules/openid/openid.api.php, line 78
Hooks provided by the OpenID module.

Code

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