Esta página foi útil?
Seus comentários sobre este conteúdo são importantes. Queremos saber sua opinião.
Comentários adicionais?
1500 caracteres restantes
Biblioteca MSDN

Windows Azure AD Authentication Library Code Samples

Atualizado: outubro de 2013

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

noteObservação
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

Mostrar:
© 2015 Microsoft