http://msdn.microsoft.com/en-   http://msdn.microsoft.com/en-US/windows/apps/br229516.aspx   US/windows/apps/br229516.aspx...
••    •    ••    •
Microsoft Online                 SharePointApp                               (STS)                         Online         ...
http://msdn.microsoft.com/en-us/library/windows/apps/br230301(v=vs.110).aspx
JavaScript                          C#                           Office 365       1     Create new Helper       2     New ...
•    •    ••    •    •    •    •    •    •
Connecting Office 365 and Windows 8 HTML/JavaScript Apps
Connecting Office 365 and Windows 8 HTML/JavaScript Apps
Connecting Office 365 and Windows 8 HTML/JavaScript Apps
Connecting Office 365 and Windows 8 HTML/JavaScript Apps
Connecting Office 365 and Windows 8 HTML/JavaScript Apps
Connecting Office 365 and Windows 8 HTML/JavaScript Apps
Connecting Office 365 and Windows 8 HTML/JavaScript Apps
Connecting Office 365 and Windows 8 HTML/JavaScript Apps
Connecting Office 365 and Windows 8 HTML/JavaScript Apps
Connecting Office 365 and Windows 8 HTML/JavaScript Apps
Connecting Office 365 and Windows 8 HTML/JavaScript Apps
Connecting Office 365 and Windows 8 HTML/JavaScript Apps
Connecting Office 365 and Windows 8 HTML/JavaScript Apps
Upcoming SlideShare
Loading in …5
×

Connecting Office 365 and Windows 8 HTML/JavaScript Apps

2,829 views

Published on

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

No Downloads
Views
Total views
2,829
On SlideShare
0
From Embeds
0
Number of Embeds
97
Actions
Shares
0
Downloads
0
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Connecting Office 365 and Windows 8 HTML/JavaScript Apps

  1. 1. http://msdn.microsoft.com/en- http://msdn.microsoft.com/en-US/windows/apps/br229516.aspx US/windows/apps/br229516.aspx http://www.office365.com
  2. 2. •• • •• •
  3. 3. Microsoft Online SharePointApp (STS) Online SAML Request 1 (username, password) http://www.wictorwilen.se/Post/How-to-do-active- authentication-to-Office-365-and-SharePoint-Online.aspx 2 Response (security token) http://allthatjs.com/2012/03/28/remote-authentication- 3 Send security token in-sharepoint-online/ 4 Receive authentication cookies (rtFa, FedAuth) 5 Send request including cookies (rtFa, FedAuth)
  4. 4. http://msdn.microsoft.com/en-us/library/windows/apps/br230301(v=vs.110).aspx
  5. 5. JavaScript C# Office 365 1 Create new Helper 2 New Helper Call signin method 3 from helper 4 Get token & cookie 5 Return cookie 6 “I’m authenticated!” “Awesome! Fetch me 7 some data” I need something from 8 you, here are the cookies 9 Return data Here’s your data
  6. 6. • • •• • • • • • •

×