Libs¶
-
keg_auth.libs.__init__.get_current_user()¶ Helper to grab the authenticated user from the session.
Trivial case is when the user is loaded in flask-login. If not, run the registered request loaders until we find a user.
-
keg_auth.libs.__init__.get_domain_from_email(email)¶ Extract domain portion of email address.