An unobtrusive authentication framework for WSGI stacks.
Project description
islay.auth
islay.auth is a very basic authentication middleware designed to work well within the WSGI specification. As not everything that works well in theory also works well in practise the interfaces it uses are a strict subset of those used by repoze.who, so any plugin that works for islay.auth should work seamlessly in repoze.who which provides more features that may be of practical use.
islay.auth will not scribble on the environ, it will only use HTTP standards. That means it works by faking HTTP basic auth rather than simply providing the details requested of it. For convenience it also provides REMOTE_USER in-keeping with the de facto standard in use by Apache.
There are three types of plugin available:
IIdentifier takes a request and manipulates its credentials. As well as extracting the credentials dictionary it provides helper methods for returning the appropriate headers to users to cause them to log in or out.
IAuthenticator verifies that the extracted credentials correspond to a real user.
IChallenger plugins take over in the case of a 401 response from the underlying application.
Release notes
0.1
Basic implementation and tests.
Does not send WWW-Authentiate yet.
Alpha quality
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
File details
Details for the file islay.auth-0.1.tar.gz
.
File metadata
- Download URL: islay.auth-0.1.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f586eacfcf336171d7b4bc673d5cd141afab02ddce457574d7b748f9097f3b4 |
|
MD5 | 8d7ecf4c46ed79d517505f0293ee58ed |
|
BLAKE2b-256 | b6604dc30adc7084164cd1c54832b6b5565da107a1148fc1d02da487df3b39a9 |