OpenID/OAuth and YQL with .NET
-
Upload
yahoo -
Category
Technology
-
view
2.273 -
download
3
description
Transcript of OpenID/OAuth and YQL with .NET
![Page 1: OpenID/OAuth and YQL with .NET](https://reader036.fdocuments.us/reader036/viewer/2022081602/54bd63bf4a7959a9278b4616/html5/thumbnails/1.jpg)
OpenID/OAuth and YQL with .NET
Jimmi KembarenYahoo! Developer Network Evangelist
![Page 2: OpenID/OAuth and YQL with .NET](https://reader036.fdocuments.us/reader036/viewer/2022081602/54bd63bf4a7959a9278b4616/html5/thumbnails/2.jpg)
Agenda
Introduction to Yahoo! Products
Live Demo
YQL
OpenID + OAuth
How to build it with .Net
Q & A
![Page 3: OpenID/OAuth and YQL with .NET](https://reader036.fdocuments.us/reader036/viewer/2022081602/54bd63bf4a7959a9278b4616/html5/thumbnails/3.jpg)
Introduction to Yahoo! Products
![Page 4: OpenID/OAuth and YQL with .NET](https://reader036.fdocuments.us/reader036/viewer/2022081602/54bd63bf4a7959a9278b4616/html5/thumbnails/4.jpg)
Introduction to Yahoo! Products
![Page 5: OpenID/OAuth and YQL with .NET](https://reader036.fdocuments.us/reader036/viewer/2022081602/54bd63bf4a7959a9278b4616/html5/thumbnails/5.jpg)
Live Demo
http://ydndemo.msdnsea.net
![Page 6: OpenID/OAuth and YQL with .NET](https://reader036.fdocuments.us/reader036/viewer/2022081602/54bd63bf4a7959a9278b4616/html5/thumbnails/6.jpg)
Live Demo
![Page 7: OpenID/OAuth and YQL with .NET](https://reader036.fdocuments.us/reader036/viewer/2022081602/54bd63bf4a7959a9278b4616/html5/thumbnails/7.jpg)
Live Demo - 1
![Page 8: OpenID/OAuth and YQL with .NET](https://reader036.fdocuments.us/reader036/viewer/2022081602/54bd63bf4a7959a9278b4616/html5/thumbnails/8.jpg)
Live Demo - 2
![Page 9: OpenID/OAuth and YQL with .NET](https://reader036.fdocuments.us/reader036/viewer/2022081602/54bd63bf4a7959a9278b4616/html5/thumbnails/9.jpg)
Live Demo - 3
![Page 10: OpenID/OAuth and YQL with .NET](https://reader036.fdocuments.us/reader036/viewer/2022081602/54bd63bf4a7959a9278b4616/html5/thumbnails/10.jpg)
Live Demo - 4
![Page 11: OpenID/OAuth and YQL with .NET](https://reader036.fdocuments.us/reader036/viewer/2022081602/54bd63bf4a7959a9278b4616/html5/thumbnails/11.jpg)
YQL – Yahoo! Query Language
The Yahoo! Query Language is an expressive SQL-like
language that lets you query, filter, and join data across
Web services.
( http://developer.yahoo.com/yql/ )
SELECT {SOMETHING} FROM {WEBSERVICE}
WHERE {CONDITION}
![Page 12: OpenID/OAuth and YQL with .NET](https://reader036.fdocuments.us/reader036/viewer/2022081602/54bd63bf4a7959a9278b4616/html5/thumbnails/12.jpg)
YQL – Yahoo! Query Language
• Passing the YQL statement as a URL parameter (REST)
• Return format: XML or JSON
• URL:
• Public : http://query.yahooapis.com/v1/public/yql
• Private : http://query.yahooapis.com/v1/yql
• Support Yahoo! Product API + Open Data Tables
http://datatables.org
![Page 13: OpenID/OAuth and YQL with .NET](https://reader036.fdocuments.us/reader036/viewer/2022081602/54bd63bf4a7959a9278b4616/html5/thumbnails/13.jpg)
YQL – Yahoo! Query Language
Console : http://developer.yahoo.com/yql/console
![Page 14: OpenID/OAuth and YQL with .NET](https://reader036.fdocuments.us/reader036/viewer/2022081602/54bd63bf4a7959a9278b4616/html5/thumbnails/14.jpg)
OpenID
• Authentication System (Sign In)
• Identified by URI http://jimmi.kembaren.com
• Single Account for Multiple Websites
• Specification: http://openid.net
![Page 15: OpenID/OAuth and YQL with .NET](https://reader036.fdocuments.us/reader036/viewer/2022081602/54bd63bf4a7959a9278b4616/html5/thumbnails/15.jpg)
OpenID Flow
![Page 16: OpenID/OAuth and YQL with .NET](https://reader036.fdocuments.us/reader036/viewer/2022081602/54bd63bf4a7959a9278b4616/html5/thumbnails/16.jpg)
OAuth
• Authorization System (Permissions)
• Token Based
• Request Token
• Verifier
• Access Token
• Consumer Key, Consumer Secret, Application ID
• Specification: http://oauth.net
![Page 17: OpenID/OAuth and YQL with .NET](https://reader036.fdocuments.us/reader036/viewer/2022081602/54bd63bf4a7959a9278b4616/html5/thumbnails/17.jpg)
OAuth Flow
![Page 18: OpenID/OAuth and YQL with .NET](https://reader036.fdocuments.us/reader036/viewer/2022081602/54bd63bf4a7959a9278b4616/html5/thumbnails/18.jpg)
OAuth Flow
![Page 19: OpenID/OAuth and YQL with .NET](https://reader036.fdocuments.us/reader036/viewer/2022081602/54bd63bf4a7959a9278b4616/html5/thumbnails/19.jpg)
How to build it with .Net
Create Your Project: https://developer.apps.yahoo.com/projects
![Page 20: OpenID/OAuth and YQL with .NET](https://reader036.fdocuments.us/reader036/viewer/2022081602/54bd63bf4a7959a9278b4616/html5/thumbnails/20.jpg)
How to build it with .Net
Accessing Public Data
![Page 21: OpenID/OAuth and YQL with .NET](https://reader036.fdocuments.us/reader036/viewer/2022081602/54bd63bf4a7959a9278b4616/html5/thumbnails/21.jpg)
How to build it with .Net
• Accessing Private Data
• Use DotNetOpenAuth ( http://www.dotnetopenauth.net )
![Page 22: OpenID/OAuth and YQL with .NET](https://reader036.fdocuments.us/reader036/viewer/2022081602/54bd63bf4a7959a9278b4616/html5/thumbnails/22.jpg)
How to build it with .Net
• SELECT Query use GET Method
• INSERT / UPDATE / DELETE Query use PUT Method
![Page 23: OpenID/OAuth and YQL with .NET](https://reader036.fdocuments.us/reader036/viewer/2022081602/54bd63bf4a7959a9278b4616/html5/thumbnails/23.jpg)
How to build it with .Net
• SELECT Query use GET Method
• INSERT / UPDATE / DELETE Query use PUT Method