Your SlideShare is downloading. ×
0
Intro OAuth Erik Eldridge Yahoo! Developer Network BarCamp San Diego 5 5/30/09 Oauth image credit: oauth.net
Overview <ul><li>Authentication flow (“OAuth dance”) </li></ul><ul><li>Pick an API </li></ul><ul><li>Get a key and secret ...
Before we continue… <ul><li>Follow along now: http://www.slideshare.net/erikeldridge </li></ul><ul><li>Start playing: http...
Flow <ul><li>http://developer.yahoo.com/oauth/ guide/oauth-auth-flow.html </li></ul>
Pick an API <ul><li>Example: http://social.yahooapis.com/v1/user/{guid}/connections </li></ul><ul><li>AKA “provider” </li>...
Get key/secret <ul><li>AKA “consumer” </li></ul><ul><li>Example: </li></ul><ul><ul><li>https://developer.yahoo.com/dashboa...
Pick an OAuth library <ul><li>http://oauth.net/code </li></ul><ul><li>Native support in many languages </li></ul>
Example: Yahoo! + PHP <ul><li>Using OAuth PHP SDK: http://oauth.googlecode.com/svn/code/php </li></ul><ul><li>API: http://...
Example: Get Request token <ul><li>Step 2 from: http://developer.yahoo.com/oauth/guide/oauth-auth-flow.html </li></ul><ul>...
Example: Redirect to provider <ul><li>Step 3 from: http://developer.yahoo.com/oauth/guide/oauth-auth-flow.html </li></ul><...
Example: Get Access token <ul><li>Step 4 from: http://developer.yahoo.com/oauth/guide/oauth-auth-flow.html </li></ul><ul><...
Example: Make Oauth-signed request <ul><li>Example: http://example.erikeldridge.com/oauth/barcampsd5/make_request.php </li...
References <ul><li>http://oauth.net/ </li></ul><ul><li>http: //oauth .net/documentation/getting-started </li></ul><ul><li>...
Thank you
Upcoming SlideShare
Loading in...5
×

BarCamp SD 5 Intro Oauth

1,524

Published on

An introduction to OAuth delivered at BarCamp San Diego 5 on 5/30/09

Published in: Technology, Design
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,524
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
7
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Transcript of "BarCamp SD 5 Intro Oauth"

  1. 1. Intro OAuth Erik Eldridge Yahoo! Developer Network BarCamp San Diego 5 5/30/09 Oauth image credit: oauth.net
  2. 2. Overview <ul><li>Authentication flow (“OAuth dance”) </li></ul><ul><li>Pick an API </li></ul><ul><li>Get a key and secret </li></ul><ul><li>Pick a library </li></ul><ul><li>Example </li></ul><ul><li>References </li></ul>
  3. 3. Before we continue… <ul><li>Follow along now: http://www.slideshare.net/erikeldridge </li></ul><ul><li>Start playing: http://test.erikeldridge.com/oauth/barcampsd5 </li></ul><ul><li>Follow me on twitter: http://twitter.com/erikeldridge </li></ul>
  4. 4. Flow <ul><li>http://developer.yahoo.com/oauth/ guide/oauth-auth-flow.html </li></ul>
  5. 5. Pick an API <ul><li>Example: http://social.yahooapis.com/v1/user/{guid}/connections </li></ul><ul><li>AKA “provider” </li></ul>
  6. 6. Get key/secret <ul><li>AKA “consumer” </li></ul><ul><li>Example: </li></ul><ul><ul><li>https://developer.yahoo.com/dashboard </li></ul></ul><ul><ul><li>http://code.google.com/apis/accounts/docs/OAuth.html </li></ul></ul><ul><ul><li>http://twitter.com/oauth </li></ul></ul>
  7. 7. Pick an OAuth library <ul><li>http://oauth.net/code </li></ul><ul><li>Native support in many languages </li></ul>
  8. 8. Example: Yahoo! + PHP <ul><li>Using OAuth PHP SDK: http://oauth.googlecode.com/svn/code/php </li></ul><ul><li>API: http://social.yahooapis.com/v1/user/{guid}/connections </li></ul><ul><li>Yahoo! OAuth PHP SDK: http://developer.yahoo.com/social/sdk/ </li></ul><ul><li>Live code: http://example.erikeldridge.com/oauth/barcampsd5/ </li></ul>
  9. 9. Example: Get Request token <ul><li>Step 2 from: http://developer.yahoo.com/oauth/guide/oauth-auth-flow.html </li></ul><ul><li>Example: http://example.erikeldridge.com/oauth/barcampsd5/ </li></ul>
  10. 10. Example: Redirect to provider <ul><li>Step 3 from: http://developer.yahoo.com/oauth/guide/oauth-auth-flow.html </li></ul><ul><li>Example: http://example.erikeldridge.com/oauth/barcampsd5/ </li></ul>
  11. 11. Example: Get Access token <ul><li>Step 4 from: http://developer.yahoo.com/oauth/guide/oauth-auth-flow.html </li></ul><ul><li>Example: http://example.erikeldridge.com/oauth/barcampsd5/callback.php </li></ul>
  12. 12. Example: Make Oauth-signed request <ul><li>Example: http://example.erikeldridge.com/oauth/barcampsd5/make_request.php </li></ul>
  13. 13. References <ul><li>http://oauth.net/ </li></ul><ul><li>http: //oauth .net/documentation/getting-started </li></ul><ul><li>http://en.wikipedia.org/wiki/OAuth </li></ul><ul><li>http://developer.yahoo.com/oauth/ </li></ul><ul><li>http://example.erikeldridge.com/oauth/barcampsd5/ </li></ul>
  14. 14. Thank you
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×