You are here

function auth0_update_auth0_object in Auth0 Single Sign On 7.2

Save changes to the local cache of an Auth0 user object.

1 call to auth0_update_auth0_object()
auth0_login_auth0_user in ./auth0.module
Log in an Auth0 authenticated user.

File

./auth0.module, line 588

Code

function auth0_update_auth0_object($user_info) {
  db_update('auth0_user')
    ->fields(array(
    'auth0_object' => serialize($user_info),
  ))
    ->condition('auth0_id', $user_info['user_id'], '=')
    ->execute();
}