UserIn
Checks the REMOTE_USER is one of the users specified.
The UserIn class is accessible via the authkit.permissions module.
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
See the source for more information.
