Re: [Twisted-Python] Authentication & Access Control system for web services

2011-03-10 Thread Jason J. W. Williams
I believe this implements OAuth 2 for Twisted using Twisted Cred: https://github.com/simplegeo/txoauth -J On Thu, Mar 10, 2011 at 2:16 PM, George Pauly wrote: > Allen, > > In my very limited experience with Twisted, > > On Thu, 2011-03-10 at 14:01 -0600, Allen Bierbaum wrote: >> I have been loo

Re: [Twisted-Python] Authentication & Access Control system for web services

2011-03-10 Thread George Pauly
Allen, In my very limited experience with Twisted, On Thu, 2011-03-10 at 14:01 -0600, Allen Bierbaum wrote: > I have been looking into this further and decided on an API that works > as follows: > > - Use HTTPS for all requests > - POST to /session to create a new session token > - pass in use

Re: [Twisted-Python] Authentication & Access Control system for web services

2011-03-10 Thread Allen Bierbaum
I have been looking into this further and decided on an API that works as follows: - Use HTTPS for all requests - POST to /session to create a new session token - pass in username and password as parameters - returns token string to be used for all further communication - All further requests

Re: [Twisted-Python] Authentication & Access Control system for web services

2011-03-07 Thread Allen Bierbaum
I would be interested to see anything you have and are willing to share. I don't want to role my own, but it looks like I am going to have to and the more I can learn from what you have done, the better. :) -Allen On Mon, Mar 7, 2011 at 11:13 AM, Jason J. W. Williams wrote: > Hi Allen, > > The

Re: [Twisted-Python] Authentication & Access Control system for web services

2011-03-07 Thread Jason J. W. Williams
Hi Allen, There's Twisted Cred you could build something on. I've also got a framework my company built internally on top of Twisted Web that I've been planning to open source once we make the unit tests more robust. Would be happy to share it with you. You decorate the render_ method with the