Debian Codegraph @

docs/index.rst

raw
1 .. rst-class:: hide-header
2
3
4 Welcome to Flask-Security
5 =========================
6
7 .. image:: _static/logo-owl-full-240.png
8 :alt: Flask-Security: add a drop of security to your Flask application.
9 :align: left
10 :width: 100%
11 :target: https://github.com/pallets-eco/flask-security
12
13
14 Flask-Security allows you to quickly add common security mechanisms to your
15 Flask application. They include:
16
17 1. Authentication (via session, Basic HTTP, or token)
18 2. User registration (optional)
19 3. Role and Permission management
20 4. Account activation (via email confirmation) (optional)
21 5. Password management (recovery and resetting) (optional)
22 6. Username management (configuration, recovery, change) (optional)
23 7. Two-factor authentication via email, SMS, authenticator (optional)
24 8. Passkey (Webauthn) Support (optional)
25 9. Social Login (OAuth) for authentication (e.g. google, github, ..) (optional)
26 10. Change email (optional)
27 11. Login tracking (optional)
28 12. JSON/Ajax Support
29
30
31 Many of these features are made possible by integrating various Flask extensions
32 and libraries. They include:
33
34 * `Flask-Login <https://flask-login.readthedocs.org/en/latest/>`_
35 * `Flask-Mail <https://pypi.org/project/Flask-Mail/>`_
36 * `Flask-Principal <https://pypi.org/project/Flask-Principal/>`_
37 * `Flask-WTF <https://pypi.org/project/Flask-WTF/>`_
38 * `itsdangerous <https://pypi.org/project/itsdangerous/>`_
39 * `passlib <https://pypi.org/project/libpass/>`_
40 * `QRCode <https://pypi.org/project/qrcode/>`_
41 * `webauthn <https://pypi.org/project/webauthn/>`_
42 * `authlib <https://pypi.org/project/Authlib/>`_
43
44 Additionally, it assumes you'll be using a common library for your database
45 connections and model definitions. Flask-Security supports the following Flask
46 extensions out of the box for data persistence:
47
48 1. `Flask-SQLAlchemy <https://pypi.python.org/pypi/flask-sqlalchemy/>`_
49 2. `MongoEngine <https://pypi.python.org/pypi/mongoengine/>`_
50 3. `Peewee Flask utils <https://docs.peewee-orm.com/en/latest/peewee/playhouse.html#flask-utils>`_
51 4. `SQLAlchemy sessions <https://docs.sqlalchemy.org/en/20/orm/session_basics.html>`_
52 5. `Flask-SQLAlchemy-Lite <https://pypi.python.org/pypi/flask-sqlalchemy-lite/>`_
53
54
55 Getting Started
56 ----------------
57
58 .. toctree::
59 :maxdepth: 2
60
61 installation
62 quickstart
63 features
64 configuration
65 models
66
67 Customizing and Usage Patterns
68 -------------------------------
69
70 .. toctree::
71 :maxdepth: 2
72
73 customizing
74 webauthn
75 two_factor_configurations
76 spa
77 patterns
78
79 API
80 ---
81 `OpenApi Spec`_
82
83
84 .. _OpenApi Spec: _static/openapi_view.html
85
86 .. toctree::
87 :maxdepth: 2
88
89 api
90
91 Additional Notes
92 ----------------
93
94 .. toctree::
95 :maxdepth: 2
96
97 contributing
98 changelog
99 authors