The Graph API presents challenges to authentication for .NET developers. Whether you are authoring a desktop, web, or Silverlight application, you will need to provide some code. Fortunately, there are a number of examples already provided.
Graph API methods are accessed through the GraphSession class, which provides the necessary authentication mechanisms and automatically appends relevant session details to queries to the API. Currently, two types of sessions are provided: the GraphDesktopSession, which provides for some developer interactivity in establishing a desktop-based session; and the GraphAuthenticatedSession, which requires that a valid session token is already provided to the client, most useful often in a web-browser-based scenario.
For more information, see the How-To articles in the Related Topics section below.