Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Flask-Atomic-Auth-0.0.2.tar.gz (4.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page