aboutsummaryrefslogtreecommitdiff
path: root/wqflask/flask_security/__init__.py
diff options
context:
space:
mode:
authorSam2013-05-17 20:59:50 +0000
committerSam2013-05-17 20:59:50 +0000
commit48ba921c234abb218b14d7f1ae4d5b017ab8d388 (patch)
treec8614aff3e6013a61eec42b4a52a3db1f9c9272f /wqflask/flask_security/__init__.py
parent457712ce46beed04126535024daae603dd6136fc (diff)
downloadgenenetwork2-48ba921c234abb218b14d7f1ae4d5b017ab8d388.tar.gz
Added flask_security locally
Diffstat (limited to 'wqflask/flask_security/__init__.py')
-rw-r--r--wqflask/flask_security/__init__.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/wqflask/flask_security/__init__.py b/wqflask/flask_security/__init__.py
new file mode 100644
index 00000000..68267cff
--- /dev/null
+++ b/wqflask/flask_security/__init__.py
@@ -0,0 +1,23 @@
+# -*- coding: utf-8 -*-
+"""
+ flask.ext.security
+ ~~~~~~~~~~~~~~~~~~
+
+ Flask-Security is a Flask extension that aims to add quick and simple
+ security via Flask-Login, Flask-Principal, Flask-WTF, and passlib.
+
+ :copyright: (c) 2012 by Matt Wright.
+ :license: MIT, see LICENSE for more details.
+"""
+
+__version__ = '1.6.0'
+
+from .core import Security, RoleMixin, UserMixin, AnonymousUser, current_user
+from .datastore import SQLAlchemyUserDatastore, MongoEngineUserDatastore, PeeweeUserDatastore
+from .decorators import auth_token_required, http_auth_required, \
+ login_required, roles_accepted, roles_required
+from .forms import ForgotPasswordForm, LoginForm, RegisterForm, \
+ ResetPasswordForm, PasswordlessLoginForm, ConfirmRegisterForm
+from .signals import confirm_instructions_sent, password_reset, \
+ reset_password_instructions_sent, user_confirmed, user_registered
+from .utils import login_user, logout_user, url_for_security