You are here

function gauth_callback_url in Google Auth 7

Same name and namespace in other branches
  1. 8 gauth.module \gauth_callback_url()
  2. 7.2 gauth.module \gauth_callback_url()

Checks https settings and returns appropriate callback url.

6 calls to gauth_callback_url()
gauth_account_edit_form in ./gauth.admin.inc
Form builder; Edit an account.
gauth_client_get in ./gauth.module
Get Google_client object of an account.
gauth_login_gauth_google_response in gauth_login/gauth_login.module
Implementation of hook_gauth_google_response().
gauth_login_user_login_submit in gauth_login/gauth_login.module
Login using google, submit handler
gauth_response_handler in ./gauth.module
Function to handle authentication and response from google.

... See full list

File

./gauth.module, line 310
Google Auth Api for drupal.

Code

function gauth_callback_url() {
  global $is_https;
  return url('gauth/response_handler', array(
    'https' => $is_https,
    'absolute' => TRUE,
  ));
}