2007-11-12 | paulb | file changeset files shortlog | [project @ 2007-11-12 00:51:34 by paulb] Added a StringResource class for simple static resources. Introduced base classes for common authentication activities. Merged "app", "path" and "qs" fields into a single "app" field for login and redirection. Added support for OpenID authentication. |
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 |