Home

Unknown macro: {metadata-list}
Name Home
Space Authkit Cookbook
Section Home
Page Authkit Cookbook
Version 1.0
Status Draft
Reviewed False
Author(s) James Gardner

AuthKit

2010-06-04: AuthKit is no longer being maintained. This section is kept for existing users. If you're looking for an authentication/authorization solution for Pylons or another framework, see Authentication and Authorization for users' suggestions.

AuthKit 0.4 is a complete authentication and authorization framework for WSGI applications including Pylons.

The main documentation for AuthKit is chapters 18 and 19 of the forthcoming book "The Definitive Guide to Pylons". If you are new to AuthKit you should read those chapters first:

  • [Authentication and Authorization]
  • [Advanced AuthKit]

This cookbook is for tutorials or other documentation that does not belong in the Pylons book chapters.

AuthKit has not been audited by a security expert, please use with caution at your own risk (or better yet, report security holes).

Any comments, suggestions or improvements would be gratefully received on the AuthKit mailing list.

Cookbook Documentation

Choosing an Approach

  • If you want to use a different authentication method you can configure it in your config file
  • If you want different authorization checks you can create your own permissions objects
  • If you don't want to use the user management API you can use your own ``authenticate()`` function and your own permission objects for authorization checks
  • If you don't want to use AuthKit's authentication you can use the ``forward`` or ``redirect`` methods.
  • If you want a different authentication method you can implement your own.
  • If you want to use the User Management API you can create your own driver for a different back end such as LDAP or a pure SQL database
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.