Closed
Bug 712551
Opened 14 years ago
Closed 13 years ago
mozsvc.user helpers for repoze.who
Categories
(Cloud Services :: Server: Core, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rfkelly, Unassigned)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file)
29.78 KB,
patch
|
telliott
:
review+
|
Details | Diff | Splinter Review |
This patch adds a "mozsvc.user.whoauth" module with some conveniences for authenticating via repoze.who. The idea is that you just do this in your config:
config.include("mozsvc.user.whoauth")
And you get auth based on repoze.who with sensible defaults. The logic and defaults are identical to the repoze.who support in server-code from Bug 692709.
(Sorry the patch is a bit of mess, it moves mozsvc/user.py => mozsvc/user/__init__.py, but it doesn't change any of the content of the file. Let me know if there's some way to make it cleaner)
Reporter | ||
Updated•14 years ago
|
Attachment #583393 -
Flags: review?(telliott)
Updated•13 years ago
|
Attachment #583393 -
Flags: review?(telliott) → review+
Reporter | ||
Comment 1•13 years ago
|
||
Committed in https://github.com/mozilla-services/mozservices/commit/6f7798d398fc81650744f01c111879b848df91c5
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•