Developer code samples

Download code samples and applications for Windows 8, Windows Phone, Microsoft Azure, Office, SharePoint, Silverlight and other products. You can also explore the Official Visual Studio C#, VB.NET, and 101 LINQ samples.New samples are added frequently in JavaScript, C++, C#, Visual Basic, and F#.
Each sample is licensed to you by the party distributing it. Microsoft does not guarantee the samples or grant rights for any sample distributed by a party other than Microsoft. Use of this site is subject to the Terms of Use.
Sort by: rss
564 results in OAuth [Clear]
ErikReitan
This download has been created for the ASP.NET 4.5 Web Forms and Visual Studio 2013 (Wingtip Toys) tutorial series. This series of tutorials guides you through the steps required to create an ASP.NET Web Forms application using Visual Studio Express 2013 for Web and ASP.NET 4.5.
Featured
C#
Dongmei Ye
This sample shows a secure solution to building Azure Services. It signs in users with OpenId Connect. Its Web App calls single tenant & multi-tenant APIs with access tokens. Its middle layer APIs make token requests downstream APIs in the on-behalf-of flow as needed.
No Star
(0)
Updated 9/9/2018
Released 10/1/2017
82 Downloads
C#
WeAreManifold
Windows Library for JavaScript (WinJS) OAuth class for working with the Twitter API (v1.1).
3.8 Star
(4)
Updated 11/22/2012
Released 11/6/2012
1,760 Downloads
Henrik F Nielsen
Many popular Web APIs such as the twitter API use some form of
OAuth for authentication. HttpClient does not have baked in support for OAuth but using the HttpClient extensibility model you can add OAuth as part of the HttpMessageHandler pipeline. This sample shows you how.
5 Star
(2)
Updated 9/1/2012
Released 2/16/2012
6,006 Downloads
C#
OneCode Team
This sample shows how to requesting a token from ACS via the OAuth.
4 Star
(2)
Updated 9/22/2016
Released 6/30/2014
1,950 Downloads
OneCode Team
This sample shows how to requesting a token from ACS via the OAuth.
No Star
(0)
Updated 9/22/2016
Released 6/30/2014
1,671 Downloads
Karlkim Suwanmongkol
An example of how to write Windows Store App connecting to LinkedIn via OAuth 2.0 using WebAuthenticationBroker and PasswordVault.
No Star
(0)
Updated 3/27/2013
Released 3/27/2013
1,995 Downloads
C#
J Suthahar
Introduction:OAuth is an Authorization framework that enable application to obtain limited access to user accounts on HTTP service in Facebook, google and Microsoft etc. Nowadays no need to create registration logic alternatively
you can choose to use identity provider login. I
5 Star
(9)
Updated 10/21/2016
Released 9/4/2016
1,112 Downloads
C#, XAML
J Suthahar
OAuth is a web authentication protocol and open standard for authorization, Nowadays Internet users to log in to third party websites using following account without exposing user registration.
Google
Facebook
Twitter
Microsoft
LinkedIn
Githup
Flicker
Yahoo
DropBox
You
5 Star
(6)
Updated 9/4/2016
Released 8/20/2016
C#
Karlkim Suwanmongkol
  An example of how to have app communicating with LinkedIn API through OAuth 1.0a.
5 Star
(4)
Updated 3/27/2013
Released 8/22/2012
2,884 Downloads
C#
Karlkim Suwanmongkol
An example showing how OAuth (strict 1.0a) Twitter API works step by step. (Updated for Twitter API v1.1 and query parameter support)
4.5 Star
(11)
Updated 3/10/2013
Released 8/24/2012
6,080 Downloads
C#
1 - 10 of 564 Items