microsoftgraph / msgraph-sdk-dotnet-auth

Archived - use the TokenCredential classes provided by Azure.Identity. https://docs.microsoft.com/en-us/dotnet/api/overview/azure/identity-readme
https://graph.microsoft.com
MIT License
78 stars 19 forks source link

Auth providers MSAL V3+ Update #42

Closed peombwa closed 5 years ago

peombwa commented 5 years ago

This PR builds upon PR #39 and proposes the following changes :

  1. Replaces generic MsalAuthenticationBase base class with IClientApplicationBaseExtensions that exposes an extension method used to handle silent token acquisition.
  2. Makes ClientApplication public for all auth providers.
  3. Uses SecureString instead of string for passwords when using UsernamePasswordAuthProvider.
  4. Uses wildcard package reference for Microsoft.Graph.Core.

Note: