changeset 46:6b53345b9c2e

stub
author Jeff Hammel <jhammel@mozilla.com>
date Sun, 29 Dec 2013 22:04:11 -0800
parents 54a53bbe5be9
children f2474ffcee96
files bitsyauth/persona.py
diffstat 1 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bitsyauth/persona.py	Sun Dec 29 22:04:11 2013 -0800
@@ -0,0 +1,20 @@
+"""
+bitsyauth Mozilla persona implementation
+
+https://login.persona.org/
+"""
+
+import os
+from webob import Request, Response, exc
+
+__all__ = ['BitsyauthPersona', 'persona_js']
+
+# persona javascript file path
+here = os.path.abspath(os.path.dirname(__file__))
+persona_js = None # TODO
+
+class BitsyauthPersona(object):
+    def __init__(self, app=None):
+        self.app = app
+    def __call__(self, environ, start_response):
+        request = Request(environ)