匯出 (0) 列印
全部展開

Windows Azure AD Authentication Library Code Samples

更新日期: 2013年10月

This topic lists available Windows Azure AD Authentication Library (ADAL) code samples available on the MSDN Code Gallery.

note附註
All of the following solutions use the JSON Web Token Handler for the Microsoft .NET Framework 4.5 to validate JWT tokens obtained via AAL.

.NET Code Samples

  • Native Application to REST Service – Authentication with AAD via Browser Dialog – This sample shows you how to use ADAL for .NET to add user authentication capabilities to a WPF client using Windows Azure AD. ADAL prompts the user with a browser dialog to sign in to Windows Azure AD. The sample also demonstrates how to authenticate calls to a REST Web API by using the JWT Token Handler.

  • Native Application to REST Service – Authentication with ACS via Browser Dialog – This sample shows you how to use ADAL for .NET to add user authentication capabilities to a WPF client using the Windows Azure Access Control Service (ACS). ADAL prompts the user with a browser dialog to sign in to their desired identity provider in ACS. This sample also demonstrates how to authenticate calls to a REST Web API by using the JWT Token Handler.

  • Server to Server Authentication – This sample shows you how to use ADAL for .NET to secure service calls from a server-side process to a REST Web API. This sample also demonstrates how to authenticate calls to a REST Web API by using the JWT Token Handler.

Windows Store Code Samples

顯示:
© 2014 Microsoft