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 modules/openid/openid.module
Perform discovery on a claimed ID to determine the OpenID provider endpoint.

File

modules/openid/openid.api.php, line 78

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.