You are here

function hook_openid_discovery_method_info_alter in Drupal 7

Allow modules to alter discovery methods.

Related topics

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

File

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