diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

I agree to have my personal information transfered to MailChimp (more information)


Remote Authentication in SharePoint Online Using Claims-Based Authentication – WhitePaper

With the Office 365 Beta, people are starting to test the waters with regards to custom development and seeing what they can do etc. Microsoft put out the SharePoint Online developers guide to try and assist with that.

“However, one of the topics not addressed directly in that paper is how you can use the Client Side Object Model (CSOM) to interact with SharePoint Online. You might want to do this if you’re writing an application that wants to store or talk with data stored in SharePoint Online for example.

The CSOM allows you to do this in an easy to use manner by providing a library you can use to make calls to SharePoint, however, by default the CSOM doesn’t handle SharePoint Online’s authentication system.

To address this gap the software giant published a paper and accompanying code sample projects to assist with showing how to accomplish this,” revealed Chris Johnson.

In short, the code sample does the following:

  • Pops a browser dialog to authenticate you against SharePoint Online
  • Captures the various authentication cookies required and attaches them to a CSOM context.
  • Uses that CSOM context to request the SharePoint Online site’s “Title” property and writes it out.

    Download: WhitePaper: Remote Authentication in SharePoint Online Using Claims-Based Authentication | Code Sample

    [Via: Chris Johnson]

Share This Story, Choose Your Platform!

Get Latest News

Subscribe to Digital News Hub

Get our daily newsletter about the latest news in the industry.
First Name
Last Name
Email address
Secure and Spam free...