Module ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias Assign NameStore Call NameLoad Str Import alias Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str ClassDef bases NameLoad body Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore AttributeLoad NameLoad attr attr BoolOpOr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr If UnaryOpNot Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad decorator_list ImportFrom alias ImportFrom alias ImportFrom alias alias Import alias identifier ImportFrom alias ClassDef bases NameLoad body Assign NameStore Call NameLoad Str ListLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad Str ListLoad Call AttributeLoad NameLoad attr decorator_list ImportFrom alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias If NameLoad body Assign NameStore Call NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword Str keyword BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Index Str Str FunctionDef arguments args defaults body Assign NameStore Call NameLoad If Call AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore NameLoad If BoolOpAnd NameLoad NameLoad UnaryOpNot AttributeLoad NameLoad attr body Expr Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Return Call NameLoad Str keyword NameLoad keyword NameLoad If BoolOpOr UnaryOpNot NameLoad UnaryOpNot Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr orelse Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Return Call NameLoad BoolOpOr AttributeLoad NameLoad attr Call NameLoad Str orelse If BoolOpAnd NameLoad CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Str body Assign NameStore Call AttributeLoad NameLoad attr Return Call NameLoad NameLoad Return Call NameLoad Str keyword NameLoad keyword NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Return Call NameLoad Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str If CompareIs NameLoad NameLoad body TryExcept body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad Str Str Expr Call AttributeLoad NameLoad attr Str NameLoad orelse Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Return Call NameLoad Call NameLoad Str orelse Expr Call NameLoad Str Str Expr Call AttributeLoad NameLoad attr Str NameLoad Return Call NameLoad Call NameLoad Str decorator_list Call AttributeLoad NameLoad attr Str
N/A flask request url_for render_template flask.ext.wtf Form wtforms.fields HiddenField galah.web.util is_url_on_site GalahWebAdapter galah.base.config load_config N/A config N/A load_config web N/A logging N/A logger N/A GalahWebAdapter N/A N/A logging getLogger galah.web.views.login RedirectForm N/A Form N/A N/A next N/A HiddenField __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super RedirectForm self __init__ args kwargs N/A N/A N/A N/A self next data N/A N/A N/A N/A self next data N/A N/A N/A N/A request args get next N/A request referrer N/A N/A N/A is_url_on_site app N/A N/A self next data N/A N/A N/A N/A self next data N/A redirect_target N/A N/A self N/A N/A N/A N/A N/A self next data N/A property N/A flask redirect flask.ext.wtf Form wtforms.fields TextField PasswordField N/A wtforms.validators validators galah.db.models User LoginForm N/A RedirectForm N/A N/A email N/A TextField Email N/A N/A N/A validators Required N/A N/A validators regexp N/A config N/A EMAIL_VALIDATION_REGEX N/A password N/A PasswordField Password N/A N/A N/A validators Required N/A galah.web app oauth_enabled galah.base.crypto.passcrypt check_seal deserialize_seal galah.db.models User flask.ext.login login_user galah.web.auth FlaskUser flask redirect url_for flash request oauth2client.client OAuth2WebServerFlow N/A oauth_enabled N/A N/A flow N/A OAuth2WebServerFlow client_id N/A N/A app config N/A GOOGLE_SERVERSIDE_ID client_secret N/A N/A app config N/A GOOGLE_SERVERSIDE_SECRET scope https://www.googleapis.com/auth/userinfo.email redirect_uri N/A N/A N/A app config N/A HOST_URL /oauth2callback login N/A N/A N/A N/A N/A form N/A LoginForm N/A N/A N/A form validate_on_submit N/A N/A N/A N/A user N/A FlaskUser N/A N/A N/A User objects get email N/A N/A form email data N/A N/A N/A N/A User DoesNotExist N/A N/A user None N/A N/A oauth_enabled user N/A N/A user seal N/A N/A N/A flash You must use R'Mail to login. category error N/A N/A N/A logger info User %s has tried to log in via internal auth but their account does not have a seal. N/A user email N/A N/A render_template login.html form form oauth_enabled oauth_enabled N/A N/A N/A user N/A N/A check_seal N/A N/A form password data N/A deserialize_seal N/A str N/A user seal N/A N/A N/A flash Incorrect email or password. category error N/A N/A N/A logger info User %s has entered an incorrect email/password pair during internal auth. N/A N/A form email data N/A N/A N/A login_user user N/A N/A N/A logger info User %s has succesfully logged in via internal auth. N/A user email N/A N/A redirect N/A N/A form redirect_target N/A url_for browse_assignments N/A N/A N/A oauth_enabled N/A N/A N/A N/A request args get type rmail N/A N/A auth_uri N/A N/A flow step1_get_authorize_url N/A N/A redirect auth_uri N/A N/A render_template login.html form form oauth_enabled oauth_enabled google_login_heading N/A N/A app config N/A GOOGLE_LOGIN_HEADING google_login_caption N/A N/A app config N/A GOOGLE_LOGIN_CAPTION N/A N/A N/A app route /login/ methods N/A GET POST authenticate_user N/A N/A N/A N/A N/A 
    Authenticate user as logged in after Google OAuth2 sends a callback.

     N/A error N/A N/A N/A request args get error N/A error N/A N/A N/A N/A logger warning Google sent us an error via OAuth2: %s error N/A N/A redirect N/A url_for login N/A code N/A N/A N/A request args get code N/A credentials N/A N/A flow step2_exchange code N/A id_token N/A credentials id_token N/A email N/A id_token N/A email N/A verified_email N/A id_token N/A email_verified N/A N/A verified_email True N/A N/A N/A N/A user N/A FlaskUser N/A N/A N/A User objects get email email N/A N/A N/A N/A User DoesNotExist N/A N/A user None N/A N/A user N/A N/A N/A flash A Galah account does not exist for this email. error N/A N/A N/A logger info User %s has attempted to log in via OAuth2 but an account does not exist for them. email N/A N/A N/A login_user user N/A N/A N/A logger info User %s has succesfully logged in via OAuth2. email N/A N/A redirect N/A url_for home N/A N/A N/A flash Sorry, we couldn't verify your email error N/A N/A N/A logger info User %s failed to authenticate with OAuth2 because their email has not been verified with google. email N/A N/A redirect N/A url_for login N/A N/A N/A app route /oauth2callback/