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

Update to MSAL v4.3 #49

Closed michael-hawker closed 5 years ago

michael-hawker commented 5 years ago

Following-up from #37.

There's been a lot of updates and bug fixes to MSAL in the last few months. It'd be great to see the Graph Auth utils updated alongside them.

There's also better Xamarin and .NET Core support in the new versions, so keeping current will help as we get closer to the .NET Core 3 release.

Thanks!

michael-hawker commented 5 years ago

@darrelmiller @peombwa that's a good question as I realize I didn't see it called out in the readme.

Will these helpers work with Xamarin? Is there a sample for their use there?

As in the MSAL sample they have the call to .WithParentActivityOrWindow off the AcquireTokenInteractive, so it looks like I'd need to populate the Parent object as well for these for the InteractiveProvider, eh?