0

I use NetStandard project instead of PCL class for my Xamarin.Forms 2.4 project. I was thinking using Xamarin.Auth to store token receive with MSAL and user info locally but the nuget is not compatible with NetStandard yet. Do we have some alternative? Can we "force" install it in NetStandard project?

Thanks,

Pierre-D Savard
  • 529
  • 3
  • 16

1 Answers1

0

Xamarin.Auth is being rewritten to add support for 1.0 and 1.1. Some OAuth grants like PKCE will be forced to use 1.3 and above. There is 1.6 version of the PCL library. Lowering .NET Standard version to less than 1.6 required too much effort, so .NET support is being added with some other features.

moljac
  • 946
  • 9
  • 12
  • Where I can found the rewrited Xamarin.Auth? I currently use Standard1.4 – Pierre-D Savard Oct 31 '17 at 14:40
  • @Pierre It is in separate branch, but it is not usable yet. I have initial HTTP abstraction for HTTP requests (.NET Standard 1.0 using HttpWebRequest and HttpWebResponse and .NET Standard 1.1 using HttpRequestMessage and HttpResponseMessage). This part is in separate repo for easier handling and testing. It will be integrated into Xamarin.Auth. – moljac Oct 31 '17 at 15:13