Module ImportFrom alias alias Import alias ImportFrom alias alias alias alias alias alias alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args defaults body Expr Str If CompareEq AttributeLoad NameLoad attr Str body Return Call NameLoad Return Call NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad If BoolOpOr CompareEq NameLoad NameLoad UnaryOpNot Call NameLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr keyword NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad handlers ExceptHandler type NameLoad body Return Call AttributeLoad NameLoad attr keyword NameLoad keyword Call NameLoad Str Return Call AttributeLoad NameLoad attr keyword NameLoad keyword Call NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str NameLoad FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call NameLoad Call NameLoad Str keyword Str Return Call NameLoad Call NameLoad Str keyword NameLoad keyword AttributeLoad NameLoad attr ExceptHandler body Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad Str Num Return Call AttributeLoad NameLoad attr Call NameLoad Str Num orelse Return Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad decorator_list FunctionDef arguments args defaults body Expr Str If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore Call NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse Assign NameStore Dict TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Pass orelse Return Call NameLoad Call NameLoad Return Call NameLoad Str keyword NameLoad decorator_list FunctionDef arguments args defaults body Expr Str TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Pass Return Call NameLoad Call NameLoad Str keyword NameLoad keyword AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str FunctionDef arguments args defaults body If UnaryOpNot Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str body Return TupleLoad Str Num Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str If BoolOpOr CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Return Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad handlers ExceptHandler type NameLoad body Return Str If BoolOpOr Call NameLoad NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr Str body Return Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Return Call NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body If Call NameLoad NameLoad Str body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad NameLoad Return BoolOpOr NameLoad Call NameLoad Str keyword NameLoad keyword AttributeLoad NameLoad attr decorator_list
N/A __future__ print_function unicode_literals N/A traceback flask render_template request flash redirect url_for jsonify g weblab.core.login.exc InvalidCredentialsError weblab.core.webclient.helpers safe_redirect WebError json_exc web_exc weblab.core.webclient.view_labs labs labs_view weblab.core.i18n gettext weblab.core.wl weblab_api weblab.core.exc SessionNotFoundError login N/A N/A N/A N/A N/A 
    Handles the index screen displaying (GET) and login (POST).
     N/A N/A N/A request method POST N/A N/A N/A handle_login_POST N/A N/A handle_login_GET N/A N/A N/A weblab_api route_webclient /login methods N/A GET POST login_service N/A N/A N/A N/A N/A contents N/A N/A request get_json force True silent True N/A N/A N/A contents False N/A N/A isinstance contents dict N/A N/A N/A N/A weblab_api jsonify error True message Error reading username and password N/A username N/A N/A contents get username N/A password N/A N/A contents get password N/A N/A N/A session_id N/A N/A N/A weblab_api api login username password N/A N/A N/A InvalidCredentialsError N/A N/A N/A N/A weblab_api jsonify error True message N/A gettext Invalid username or password N/A N/A N/A weblab_api jsonify error False redirect N/A get_next_url N/A N/A N/A weblab_api route_webclient /login/service methods N/A POST json_exc handle_login_POST N/A N/A N/A N/A N/A 
    Carries out an actual log in.
    :return:
     N/A username N/A N/A N/A request values get username N/A password N/A N/A N/A request values get password N/A N/A N/A session_id N/A N/A N/A weblab_api api login username password N/A N/A N/A InvalidCredentialsError N/A N/A N/A flash N/A gettext Invalid username or password category error N/A N/A redirect N/A url_for .login _external True _scheme N/A request scheme N/A N/A N/A N/A N/A traceback print_exc N/A N/A flash N/A gettext There was an unexpected error while logging in. 500 N/A N/A N/A weblab_api make_response N/A gettext There was an unexpected error while logging in. 500 N/A N/A N/A N/A weblab_api make_response N/A redirect N/A get_next_url N/A handle_login_GET N/A N/A N/A N/A N/A 
    Displays the index (the login page).
     N/A N/A N/A N/A request args get next N/A N/A url_kwargs N/A dict next N/A N/A N/A request args get next N/A N/A url_kwargs N/A N/A N/A N/A N/A N/A N/A weblab_api api check_user_session N/A N/A N/A SessionNotFoundError N/A N/A N/A N/A N/A redirect N/A get_next_url N/A N/A render_template webclient/login.html url_kwargs url_kwargs N/A logout N/A N/A N/A N/A N/A 
    Logout will logout the current session and redirect to the main page.
     N/A N/A N/A N/A N/A N/A weblab_api api logout N/A N/A N/A SessionNotFoundError N/A N/A N/A N/A redirect N/A url_for .login _external True _scheme N/A request scheme N/A N/A N/A weblab_api route_webclient /logout methods N/A GET POST demo N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A weblab_api config client get demo.available N/A N/A N/A Not found 404 N/A username N/A N/A N/A N/A weblab_api config client get demo.username N/A password N/A N/A N/A N/A weblab_api config client get demo.password N/A N/A N/A username None N/A password None N/A N/A Invalid configuration! Contact the administrator so he puts the username and password for the demo account N/A N/A N/A session_id N/A N/A N/A weblab_api api login username password N/A N/A N/A InvalidCredentialsError N/A N/A Invalid configuration! Contact the administrator so he correctly puts the username and password for the demo account N/A N/A N/A hasattr g next_url N/A N/A N/A request args get next N/A N/A N/A N/A weblab_api make_response N/A redirect N/A get_next_url N/A N/A labs_view N/A N/A N/A weblab_api route_webclient /demo get_next_url N/A N/A N/A N/A N/A N/A hasattr g next_url N/A N/A next_url N/A g next_url N/A N/A next_url N/A N/A N/A request args get next N/A next_url N/A safe_redirect next_url N/A N/A next_url N/A url_for .labs _external True _scheme N/A request scheme N/A