@login_notrequired
def show_login_page(request, login_errors=False):
   redirect_to = request.REQUEST.get('next', '/')
   is_first_login_ever = OAuthBackend.is_first_login_ever()

   request.session.set_test_cookie()
   return render('oauth-login.mako', request, {
     'action': urlresolvers.reverse('oauth_login'),
     'next': redirect_to,
     'first_login_ever': is_first_login_ever,
     'login_errors': request.method == 'POST' or login_errors,
     'socialGoogle':   liboauth.conf.CONSUMER_KEY_GOOGLE.get() != "" and liboauth.conf.CONSUMER_SECRET_GOOGLE.get() != "",
     'socialFacebook': liboauth.conf.CONSUMER_KEY_FACEBOOK.get() != "" and liboauth.conf.CONSUMER_SECRET_FACEBOOK.get() != "",
     'socialLinkedin': liboauth.conf.CONSUMER_KEY_LINKEDIN.get() != "" and liboauth.conf.CONSUMER_SECRET_LINKEDIN.get() != "",
     'socialTwitter':  liboauth.conf.CONSUMER_KEY_TWITTER.get() != "" and liboauth.conf.CONSUMER_SECRET_TWITTER.get() != ""
 })
Returns virtual cpus information of guest.
dataset/ETHPy150Open cloudera/hue/desktop/libs/liboauth/src/liboauth/views.py/show_login_page--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/libvirt/guest.py/Guest.get_vcpus_info