Re: [Twisted-Python] Implementing OAuth in twisted.cred

2010-07-05 Thread Glyph Lefkowitz
On Jul 3, 2010, at 3:19 PM, Laurens Van Houtven wrote: > A number of people have tried to implement it in Twisted. AFAICT most > of them just use oauth.py. That uses urllib. Basically I guess it just > crosses its fingers and hopes that the OAuth API endpoints will always > be reachable and respo

Re: [Twisted-Python] Implementing OAuth in twisted.cred

2010-07-04 Thread Laurens Van Houtven
I was confused about the latest spec; see https://datatracker.ietf.org/doc/draft-ietf-oauth-v2/ I'm trying to figure out what changed from OAuth v1, some things appear more complex, some changes are pretty trivial, but there's a lot of different people writing and editing it now (Yahoo!, Facebook,

Re: [Twisted-Python] Implementing OAuth in twisted.cred

2010-07-03 Thread Yaroslav Fedevych
> The strange bits start in the CredentialsChecker, since credentials are > checked by someone else entirely. I see nothing strange. A checker which delegates checking to another entity and returns a Deferred. Which may go through a whole lot of callbacks and stages of verification before your ow

[Twisted-Python] Implementing OAuth in twisted.cred

2010-07-03 Thread Laurens Van Houtven
Hi! For those who don't know what OAuth is; the Wikipedia definition is pretty good: "OAuth (Open Authorization) is an open standard that allows users to share their private resources (e.g. photos, videos, contact lists) stored on one site with another site without having to hand out their userna