A flask extension that allows login via Beet app
Flask-beet is a Flask extension for allow login (flask-security/flask-login) via signed messages and the Beet app.
The login requires a unique string to be signed and submitted. The signature is created with the memo key of an account on the BitShares Blockchain,
Install the extension with one of the following commands:
$ pip install flask_beet
Using Flask-Beet is fairly straightforward. Begin by importing the extension and then passing your application object back to the extension, like this:
from flask import Flask from flask_beet import Beet app = Flask(__name__) beet = Beet(app)
You'll also need to extend your user model with the
from flask_beet import BeetMixin # Replace -class User(db.Model, UserMixin): # with +class User(db.Model, UserMixin, BeetMixin):
The Sphinx-compiled documentation is available here: flask-beet.rtfd.io
This tool uses
semversioner to track changes. After changes, please
semversioner add-change --type patch --description "Fix security vulnerability with authentication."
to track them.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size Flask_Beet-0.2.0-py3-none-any.whl (214.9 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
|Filename, size Flask-Beet-0.2.0.tar.gz (214.8 kB)||File type Source||Python version None||Upload date||Hashes View hashes|
Hashes for Flask_Beet-0.2.0-py3-none-any.whl