2007-11-12 | paulb | file changeset files shortlog | [project @ 2007-11-12 00:50:03 by paulb] Introduced base classes for common authentication activities. Made cookie usage "safe" for usernames containing ":" characters. Added support for OpenID signatures. |
paulb@548 | 1 | #!/usr/bin/env python |
paulb@548 | 2 | |
paulb@558 | 3 | from WebStack.Adapters.Django import deploy |
paulb@548 | 4 | from Auth import AuthResource, AuthAuthenticator |
paulb@548 | 5 | |
paulb@548 | 6 | resource = AuthResource() |
paulb@548 | 7 | authenticator = AuthAuthenticator() |
paulb@548 | 8 | |
paulb@718 | 9 | auth = deploy(resource, authenticator=authenticator, handle_errors=0) |
paulb@548 | 10 | |
paulb@548 | 11 | # vim: tabstop=4 expandtab shiftwidth=4 |