Mercurial > hg > bitsyauth
comparison bitsyauth/persona.py @ 46:6b53345b9c2e
stub
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sun, 29 Dec 2013 22:04:11 -0800 |
parents | |
children | 12342551537b |
comparison
equal
deleted
inserted
replaced
45:54a53bbe5be9 | 46:6b53345b9c2e |
---|---|
1 """ | |
2 bitsyauth Mozilla persona implementation | |
3 | |
4 https://login.persona.org/ | |
5 """ | |
6 | |
7 import os | |
8 from webob import Request, Response, exc | |
9 | |
10 __all__ = ['BitsyauthPersona', 'persona_js'] | |
11 | |
12 # persona javascript file path | |
13 here = os.path.abspath(os.path.dirname(__file__)) | |
14 persona_js = None # TODO | |
15 | |
16 class BitsyauthPersona(object): | |
17 def __init__(self, app=None): | |
18 self.app = app | |
19 def __call__(self, environ, start_response): | |
20 request = Request(environ) |