def openid_login(request): if "openid_identifier" in request.GET: user_url = request.GET.get("openid_identifier") request.session["openid_provider"] = user_url return begin(request, user_url=user_url) else: request.session["openid_provider"] = "Openid" return begin(request)
def openid_login(request): if 'openid_identifier' in request.GET: user_url = request.GET.get('openid_identifier') request.session['openid_provider'] = user_url return begin(request, user_url=user_url) else: request.session['openid_provider'] = 'Openid' return begin(request)
def openid_login(request): if 'openid_identifier' in request.GET: user_url = request.GET.get('openid_identifier') request.session['openid_provider'] = user_url return begin(request, user_url = user_url) else: request.session['openid_provider'] = 'Openid' return begin(request)
def openid_login(request): if 'openid_identifier' in request.GET: user_url = request.GET.get('openid_identifier') if user_url.startswith('g:'): # google g: shortcut user_url='http://www.google.com/profiles/'+user_url[2:] request.session['openid_provider'] = user_url return begin(request, user_url = user_url) else: request.session['openid_provider'] = 'Openid' return begin(request)
def openid_login(request): if request.method == 'POST': return login_page(request) set_next( request ) if 'openid_identifier' in request.GET: user_url = request.GET.get('openid_identifier') request.session['openid_provider'] = user_url return begin(request, user_url = user_url) else: request.session['openid_provider'] = 'Openid' return begin(request)
def openid_login(request): if request.method == 'POST': return login_page(request) set_next(request) if 'openid_identifier' in request.GET: user_url = request.GET.get('openid_identifier') request.session['openid_provider'] = user_url return begin(request, user_url=user_url) else: request.session['openid_provider'] = 'Openid' return begin(request)
def openid_login(request): if 'openid_identifier' in request.GET: user_url = request.GET.get('openid_identifier') request.session['openid_provider'] = user_url return begin(request, user_url = user_url) else: if 'google.com' in request.POST.get('openid_url', ''): request.session['openid_provider'] = 'Google' return begin(request, user_url='https://www.google.com/accounts/o8/id') else: request.session['openid_provider'] = 'Openid' return begin(request)
def openid_login(request): if 'openid_identifier' in request.GET: user_url = request.GET.get('openid_identifier') request.session['openid_provider'] = user_url return begin(request, user_url = user_url) else: if 'google.com' in request.POST.get('openid_url', ''): request.session['openid_provider'] = 'Google' return begin(request, user_url='https://www.google.com/accounts/o8/id') elif 'yahoo.com' in request.POST.get('openid_url', ''): request.session['openid_provider'] = 'Yahoo' else: request.session['openid_provider'] = 'Openid' return begin(request)
def yahoo_login(request): request.session['openid_provider'] = 'Yahoo' return begin(request, user_url='http://yahoo.com/')
def gmail_login(request): request.session['openid_provider'] = 'Google' return begin(request, user_url='https://www.google.com/accounts/o8/id')
def yahoo_login(request): request.session["openid_provider"] = "Yahoo" return begin(request, user_url="http://yahoo.com/")
def gmail_login(request): request.session["openid_provider"] = "Google" return begin(request, user_url="https://www.google.com/accounts/o8/id")
def udacity_login(request): request.session['openid_provider'] = 'Udacity' return begin(request, user_url='https://www.udacity.com/openid/server')
def google_login(request): set_next( request ) request.session['openid_provider'] = 'Google' return begin(request, user_url='https://www.google.com/accounts/o8/id')
def openid_login(request): request.session['openid_provider'] = 'Openid' return begin(request)
def gmail_login(request): request.session['openid_provider'] = 'google' return begin(request, user_url='https://www.google.com/accounts/o8/id')
def yahoo_login(request): request.session['openid_provider'] = 'Yahoo' return begin(request, user_url='https://me.yahoo.com/')
def openid_login(request): request.session["openid_provider"] = "Openid" return begin(request)