Mercurial > hg > bitsyauth
view bitsyauth/persona.py @ 46:6b53345b9c2e
stub
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sun, 29 Dec 2013 22:04:11 -0800 |
parents | |
children | 12342551537b |
line wrap: on
line source
""" 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)