Flask-Principal

Identity management for Flask
Download

Flask-Principal Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Publisher Name:
  • Ali Afshar
  • Publisher web site:
  • http://glashammer.welterde.de/

Flask-Principal Tags


Flask-Principal Description

Identity management for Flask Flask-Principal is an identity management extension for Flask.Flask-Principal provides a very loose framework to tie in providers of two types of service, often located in different parts of a web application: 1. Authentication providers 2. User information providersFor example, an authentication provider may be oauth, using Flask-OAuth and the user information may be stored in a relational database. Looseness of the framework is provided by using signals as the interface.The major components are the Identity, Needs, Permission, and the Principal. 1. The Identity represents the user, and is stored/loaded from the cookie sessions. 2. A need is a pair of (method, value) where method is used to specify common things such as “role”, “user”, etc. And the value is the value. An example of such is (‘role’, ‘admin’). Which would be a Need for a admin role. 2. A permission is a set of requirements, any of which should be present for access to a resource. 3. A Principal is the context of a certain identity against a certain Permission.Links: * documentation * source Requirements: · Flask · Python


Flask-Principal Related Software