11/11/2019 1:15 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Build Xamarin solutions with authentication and Microsoft Graph 11/11/2019 1:15 PM Build Xamarin solutions with authentication and Microsoft Graph Brandon Werner Principal Program Manager Microsoft Identity Developer Experience © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Agenda Introduction The Authentication Flow for Native Devices Demo 11/11/2019 1:15 PM Introduction The Authentication Flow for Native Devices Demo Resources and next steps Introduction Why enable sign in in Web Apps? Demo - What is the user experience ? Demo – How ? What’s the code that does the magic ? Register the AAD application Variations Resources and next steps © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Introduction Demonstrate how to use Visual Studio and NuGet on macOS to deliver a cross platform sign-in experience on iOS and Android. Download the Xamarin Forms sample and configure Sign in both consumer and business users with one SDK. Calling the Microsoft Graph API
Microsoft Authentication Library New Pattern for Secure Authentication Application System Browser Microsoft Authentication Library This return from the system browser is why configuring your app correctly is so important.
Demo Create and configure an Xamarin Application for iOS and Android 11/11/2019 1:15 PM Demo Create and configure an Xamarin Application for iOS and Android © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Recap Install the MSAL Preview for .Net Update our code to authenticate the user Update our code to call the Microsoft Graph Edit our platform specific app config to get the return
Resources Xamarin for macOS: https://www.visualstudio.com/xamarin/ MSAL Preview for .Net: https://www.nuget.org/packages/Microsoft.Identity.Client The Xamarin forms app using MSAL: https://github.com/Azure-Samples/active-directory-xamarin-native-v2