Skip to main content

An authentication and authorization toolkit for WSGI applications and frameworks

Project description

Summary

  • Built for WSGI applications and middleware

  • Sophisticated and extensible permissions system

  • Built in support for HTTP basic, HTTP digest, form, cookie and OpenID authentication methods plus others

  • Easily define users, passwords and roles

  • Designed to be totally extensible so you can use the components to integrate with a database, LDAP connection or your own custom system

  • Plays nicely with the Pylons web framework

There is also a development version.

Get Started

Author

James Gardner james at pythonweb dot org

Development sponsored by 3aims and Prometheus Research.

Changes

0.4 (svn)

* AS A RESULT OF THESE CHANGES THE DOCS ARE CURRENTLY OUT OF DATE *

  • Added support for encrypted passwords

  • Fixed the IE7 bug in digest middleware

  • Adding SSO sub-directory, redirecting API, and CAS auth handler.

  • Fixed binding check to return none, instead of throwing an Exception (for performance reasons).

  • Moved start_response check outside of app_iter consumption since it must be called by this point to comply with WSGI.

  • Fixed consumption app iter in multi, loading entire response into ram.

  • Adding changelog

  • Added IP and Time based permission objects

  • Started unit tests

  • Extended the user management API and added SQLAlchemy driver and example

  • Restructured the authenticate middleware into induvidual pluggable components

  • Simplified the configuration file system

  • Added OpenID dependencies

  • Removed the larger SQLAlchemy based demos

  • The cookie module uses authkit as a default cookie name, not auth_tkt. Any code which does anything manually with this cookie needs the name changing if it wasn’t explicitly set to auth_tkt in the config file.

0.3.0pre5

  • Changed the arguments to the authkit.authenticate.middleware() factory. You will need to update your middleware setup to use app_conf instead of config_paste for the app_conf dictionary.

0.3

  • Re-written from scratch to be a modular toolkit for building your own auth framework rather than an all-in-one solution.

0.2

  • Re-written from scratch so to use SQLAlchemy only, old driver system considered unnecessary and limiting. Also doesn’t fit in with current Pylons best-practice.

0.1

  • Based on the web.auth 0.6 module from www.pythonweb.org, support for SQLObject driver included

License

Copyright (c) Copyright 2005-2007 James Gardner <james at pythonweb dot org>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Download

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

AuthKit-0.4.0.tar.gz (96.9 kB view details)

Uploaded Source

Built Distribution

AuthKit-0.4.0-py2.4.egg (143.2 kB view details)

Uploaded Source

File details

Details for the file AuthKit-0.4.0.tar.gz.

File metadata

  • Download URL: AuthKit-0.4.0.tar.gz
  • Upload date:
  • Size: 96.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for AuthKit-0.4.0.tar.gz
Algorithm Hash digest
SHA256 b47e2745c71dc5ede4b5b4a98e02f7080f7e7d6bae6da9184951446a6f6c011c
MD5 c908e41f82a0821e6fe7d2c838269692
BLAKE2b-256 6b94f485a2b8b225b7b8c494a6abb0f29e38ebce8f4412aca0ce2a3cb7e0f55e

See more details on using hashes here.

File details

Details for the file AuthKit-0.4.0-py2.4.egg.

File metadata

  • Download URL: AuthKit-0.4.0-py2.4.egg
  • Upload date:
  • Size: 143.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for AuthKit-0.4.0-py2.4.egg
Algorithm Hash digest
SHA256 b2daec4fea05103dd49a59aa48422c09f0f396b40d7165d8f7955928301d7bc1
MD5 284cd490cee9dbf451d01164132a499f
BLAKE2b-256 7aff60d05c9a4dc872a2669c4ed4f4950971375b01174d2afd2d9fcac651ac70

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page