# HG changeset patch # User Jeff Hammel # Date 1388383451 28800 # Node ID 6b53345b9c2e565a37cac027e39e76f88d7c17b4 # Parent 54a53bbe5be9260fce7c79978da9019dfcdfb305 stub diff -r 54a53bbe5be9 -r 6b53345b9c2e bitsyauth/persona.py --- /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)