function hook_openid_response
hook_openid_response($response, $account)
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
File
- modules/openid/openid.api.php, line 42
- Hooks provided by the OpenID module.
Code
function hook_openid_response($response, $account) { if (isset($response['openid.ns.ax'])) { _mymodule_store_ax_fields($response, $account); } }
© 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_response/7.x