function hook_openid_discovery_method_info_alter

hook_openid_discovery_method_info_alter(&$methods)

Allow modules to alter discovery methods.

Related topics

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!openid!openid.api.php/function/hook_openid_discovery_method_info_alter/7.x