123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- <?php
- function hook_openid($op, $request) {
- if ($op == 'request') {
- $request['openid.identity'] = 'http://myname.myopenid.com/';
- }
- return $request;
- }
- function hook_openid_response($response, $account) {
- if (isset($response['openid.ns.ax'])) {
- _mymodule_store_ax_fields($response, $account);
- }
- }
- function hook_openid_discovery_method_info() {
- return array(
- 'new_discovery_idea' => '_my_discovery_method',
- );
- }
- function hook_openid_discovery_method_info_alter(&$methods) {
-
- unset($methods['xri']);
- }
- function hook_openid_normalization_method_info() {
- return array(
- 'new_normalization_idea' => '_my_normalization_method',
- );
- }
- function hook_openid_normalization_method_info_alter(&$methods) {
-
- unset($methods['google_idp']);
- }
|