You are here

function hook_services_token_access_update in Services Token Access 7

Invoked when a user's token is (re)generated.

Parameters

int $uid: User ID

string $token: Token string

1 invocation of hook_services_token_access_update()
services_token_access_update_token in ./services_token_access.module
Update the token string for a given user (or remove it).

File

./services_token_access.api.php, line 33
Hooks documentation for the services_token_access module.

Code

function hook_services_token_access_update($uid, $token) {
  dpm('updated token for ' . $uid);
  dpm($token);
}