You are here

function openid_connect_user_insert in OpenID Connect / OAuth client 7

Same name and namespace in other branches
  1. 8 openid_connect.module \openid_connect_user_insert()

Implements hook_user_insert().

File

./openid_connect.module, line 436
A pluggable client implementation for the OpenID Connect protocol.

Code

function openid_connect_user_insert(&$edit, $account, $category) {
  if (isset($edit['openid_connect_client'])) {
    openid_connect_connect_account($account, $edit['openid_connect_client'], $edit['openid_connect_sub']);
  }
}