You are here

function gauth_user_services_authenticate in Google Auth 7

Same name and namespace in other branches
  1. 7.2 gauth_user/gauth_user.pages.inc \gauth_user_services_authenticate()

Menu callback; Creates authenticate link for end users.

1 string reference to 'gauth_user_services_authenticate'
gauth_user_menu in gauth_user/gauth_user.module
Implements hook_menu().

File

gauth_user/gauth_user.pages.inc, line 10
User pages for Google Auth User Services.

Code

function gauth_user_services_authenticate($user) {
  $page = array();
  $accounts = gauth_user_auth_services_enabled($user, FALSE);
  $page['gauth_user_services_authenticate_list'] = array(
    '#markup' => theme('gauth_user_services_authenticate_list', array(
      'accounts' => $accounts,
    )),
  );
  return $page;
}