Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 856 Bytes

README.md

File metadata and controls

14 lines (12 loc) · 856 Bytes

AuthDemo

Xamarin Forms demo app to authenticate on Azure AD B2C service using MSAL with Xamarin.Essentials Web Authenticator

Description

This is a lab project to experiment with AAD B2C Authentication in Xamarin Forms with MSAL, to:

Features

  • Use the same User secrets mechanism of .NET Core apps to prevent pushing sensible data to GitHub
  • Store the access token with Xamarin Essentials SecureStorage
  • Define an IAuthenticationService interface for the AuthenticationService so we can use Xamarin Forms Dependency Service
  • Use a minimalist MVVM approach with James Montemagno MvvmHelpers
  • Experiment with different architectural solution
  • Experiment with shell UI to integrate the login/logout process and visual representation of User info and status
  • Try to use PID Facebook Token to access some profile info like email, name, picture...