You are here

function openid_connect_user_cancel in OpenID Connect / OAuth client 7

Same name and namespace in other branches
  1. 8 openid_connect.module \openid_connect_user_cancel()
  2. 2.x openid_connect.module \openid_connect_user_cancel()

Implements hook_user_cancel().

File

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

Code

function openid_connect_user_cancel($edit, $account, $method) {
  openid_connect_authmap_delete($account->uid);
}