| Versions | |
|---|---|
| 7 | hook_openid_response($response, $account) |
Allow modules to act upon a successful OpenID login.
$response Response values from the OpenID Provider.
$account The Drupal user account that logged in
drupal/
<?php
function hook_openid_response($response, $account) {
if (isset($response['openid.ns.ax'])) {
_mymodule_store_ax_fields($response, $account);
}
}
?>