Reputation: 3731
I'm looking at oauth+php example (http://code.google.com/p/oauth-php/wiki/ConsumerHowTo#Two-legged_OAuth). There's two different schemas to get authorized: 3-legged and 2-legged. What's the difference? When should I use each of them?
Thank you in advance!
Upvotes: 2
Views: 1465
Reputation: 3018
The referenced URL provides a decent overview.
In Google land:
Upvotes: 2
Reputation: 16055
From the examples I guess the 2-legged auth is just simpler and allows You to call only concrete method the server provides thus have to auth every time a method call should be done. While with 3-legged auth You gain access to all servers possible, then select concrete one and then You can call any methods You want once You are authenticated and authorized...
Upvotes: 1