You are here

function tokenauth_get_token_key in Token authentication 6

Same name and namespace in other branches
  1. 6.2 tokenauth.module \tokenauth_get_token_key()
  2. 7 tokenauth.module \tokenauth_get_token_key()

Get the URL querystring key.

Return value

string

4 calls to tokenauth_get_token_key()
tokenauth_init in ./tokenauth.module
Implementation of hook_init().
tokenauth_text_load in ./tokenauth.inc
Helper function to pull tokenauth UI text from the variables table, and optionally render.
tokenauth_url_outbound_alter in ./tokenauth.module
Implementation of hook_url_outbound_alter(). Appends the current user's token to any path run through url() that also passes tokenauth's allowed pages filter.
tokenauth_user_profile_form in ./tokenauth.pages.inc
Menu callback. Prints the token and instructions.

File

./tokenauth.module, line 177

Code

function tokenauth_get_token_key() {
  return variable_get('tokenauth_token_key', 'token');
}