Full stack authentication library for ASGI.
Project description
Imia
Imia (belarussian for "a name") is an authentication library for Starlette and FastAPI (python 3.8+).
Installation
Install imia
using PIP or poetry:
pip install imia
# or
poetry add imia
Features
- Login/logout flows
- Pluggable authenticators:
- WWW-Basic
- session
- token
- bearer token
- any token (customizable)
- API key
- Authentication middleware with fallback strategies (when it cannot authenticate user):
- redirect to an URL
- raise an exception
- do nothing
- [WIP] Remember me
- [WIP] User Impersonation
- [WIP] Two-Factory flow
Quick start
See example application in examples/
directory of this repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
imia-0.1.1.tar.gz
(7.0 kB
view hashes)
Built Distribution
imia-0.1.1-py3-none-any.whl
(6.7 kB
view hashes)