2007-11-12 | paulb | raw annotate files changeset graph | [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. |
1 #!/usr/bin/env python 2 3 from WebStack.Adapters.Django import deploy 4 from Auth import AuthResource, AuthAuthenticator 5 6 resource = AuthResource() 7 authenticator = AuthAuthenticator() 8 9 auth = deploy(resource, authenticator=authenticator, handle_errors=0) 10 11 # vim: tabstop=4 expandtab shiftwidth=4