You are here

function tokenauth_token_list in Token authentication 6.2

Same name and namespace in other branches
  1. 6 tokenauth.module \tokenauth_token_list()

Implementation of hook_token_list().

File

./tokenauth.module, line 181

Code

function tokenauth_token_list($type = 'user') {
  if ($type == 'user' || $type == 'all') {
    $tokens['user']['tokenauth-token'] = t("The user's tokenauth token.");
    return $tokens;
  }
}