flask.sessions SessionInterface Example Code

SessionInterface is a class used with Flask projects that is defined in the flask.sessions module. SessionInterface is the basic interface that must be implemented to replace the default session interface.

BadSignature and SessionMixin are a couple of other callables within the flask.sessions package that also have code examples.

Example 1 from tedivms-flask

tedivm's flask starter app is a base of Flask code and related projects such as Celery which provides a template to start your own Flask web app. The project comes baked with an admin panel, API authentication and authorization, SQLAlchemy and many other common libraries that are often used with Flask.

The project's code is provided as open source under the BSD 2-Clause "Simplified" license.

tedivms-flask / app / init.py