function hook_openid_response

Allow modules to act upon a successful OpenID login.

Parameters

$response: Response values from the OpenID Provider.

$account: The Drupal user account that logged in

Related topics

1 invocation of hook_openid_response()
openid_authentication in modules/openid/openid.module
Authenticate a user or attempt registration.

File

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

Code

function hook_openid_response($response, $account) {
    if (isset($response['openid.ns.ax'])) {
        _mymodule_store_ax_fields($response, $account);
    }
}

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