<s> from __future__ import absolute_import , unicode_literals <EOL> from google . appengine . api import users <EOL> from gaecookie . decorator import no_csrf <EOL> from gaepermission import facade <EOL> from gaepermission . decorator import login_not_required <EOL> from tekton import router <EOL> from config . template_middleware import TemplateResponse <EOL> from routes . login import google , facebook <EOL> from routes . login . passwordless import send_email <EOL> @ login_not_required <EOL> @ no_csrf <EOL> def index ( ret_path = '<STR_LIT:/>' ) : <EOL> g_path = router . to_path ( google . index , ret_path = ret_path ) <EOL> dct = { '<STR_LIT>' : users . create_login_url ( g_path ) , <EOL> '<STR_LIT>' : router . to_path ( send_email , ret_path = ret_path ) , <EOL> '<STR_LIT>' : router . to_path ( facebook . index , ret_path = ret_path ) , <EOL> '<STR_LIT>' : facade . get_facebook_app_data ( ) . execute ( ) . result } <EOL> return TemplateResponse ( dct , '<STR_LIT>' ) </s>
