flexmeasures.auth

Modules

flexmeasures.auth.datastore

Serialize validation and rotation of a refresh-token family.

flexmeasures.auth.decorators

Auth decorators for endpoints

flexmeasures.auth.error_handling

Auth error handling.

flexmeasures.auth.forms

Flask-Security forms that respect self-service password grants.

flexmeasures.auth.loaders

flexmeasures.auth.policy

Tooling & docs for implementing our auth policy

flexmeasures.auth.tokens

JSON API token lifecycle backed by Flask-Security refresh trackers.

Authentication and authorization policies and helpers.

Functions

flexmeasures.auth.register_at(app: Flask)