A framework for managing agent trust, such as public vs. private computers.
Project description
This project has tools for managing trusted user agents. For example, you might allow the user to indicate whether they are using a public or private computer and implement different policies for each. Or you might be using a two-factor authentication scheme, allowing the users to bypass the second factor on machines that they designate as trusted. This uses Django’s signed cookie facility and operates independently of sessions.
Short list of features:
request.agent.is_trusted tells you whether the request came from a trusted agent.
APIs to trust or revoke the agent that made a given request.
Global, per-user, and per-agent settings can set the duration of agent trust as well as an inactivity timeout.
Supports session-scoped agent trust for consistency of authorization policies.
Revoke all of a user’s previously trusted agents at any time.
The mechanisms by which a user is allowed to designate trusted agents is left entirely to clients of this library. For an application of this API using one-time passwords, see django-otp-agents, part of the django-otp suite.
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
Built Distribution
Hashes for django_agent_trust-1.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4441f14f84d96dfb14537a1742cf366a3a404046cd35fcbf5d5ba6db7eb8db85 |
|
MD5 | 1ca9112bd0d664812c348ff6e2a978c8 |
|
BLAKE2b-256 | 6091fb7035aea67fd62ea8423ade71af66352748cb7f493b83d38885fec3d3d5 |