AuthKit

 

UserIn

Checks the REMOTE_USER is one of the users specified.

Takes the following arguments:

users
A list of usernames which are valid

If there is no REMOTE_USER a NotAuthenticatedError is raised. If the REMOTE_USER is not in users a NotAuthorizedError is raised.

Usernames supplied to users are treated case insensitively.


Methods

f __init__(self, users) ...

f check(self, app, environ, start_response) ...

See the source for more information.