User authorisation module for Flask projects.
Project description
Flask Atomic Auth
Plugin Flask module for user management. Module exposes API endpoints that allows for fetching, creation and permission management for users out of the box.
Installation
pip install Flask-Atomic-Auth
Setup
Import and bind the extension to your application or in app factory (recommended approach for Flask).
from flask import Flask
from flask_atomic_auth import AAuth
auth = AAuth()
def create_app(env='Develop'):
app = Flask(__name__, instance_relative_config=True)
...
# other extensions
auth.init_app(app)
...
return app
Once you have a valid SQLALCHEMY_DATABASE_URI
configured, the database tables should be
automatically bound and created in the target database.
Usage
Creating Users
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file Flask-Atomic-Auth-0.0.2.tar.gz
.
File metadata
- Download URL: Flask-Atomic-Auth-0.0.2.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c7e1ab644c7c892e21132978c2ef6e6735b18c2768868e96e859e7c3bf5d643 |
|
MD5 | 98da74f038d32dfe7f127b14affd002d |
|
BLAKE2b-256 | 9c2f3bd4382134717bf41b92aaf3be5a2afd4e224553e79e635accb449d16cba |