• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
BarCamp SD 5 Intro Oauth
 

BarCamp SD 5 Intro Oauth

on

  • 2,233 views

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

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

Statistics

Views

Total Views
2,233
Views on SlideShare
2,233
Embed Views
0

Actions

Likes
2
Downloads
5
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    BarCamp SD 5 Intro Oauth BarCamp SD 5 Intro Oauth Presentation Transcript

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