ADAL.NET v3 does not support AcquireToken with UserCredential?

前端 未结 4 998
无人共我
无人共我 2020-12-10 03:22

In ADAL.NET 2.x, we use the below code to acquire token from Azure AD using UserCredential and it works perfectly:

 var authContext = new Authen         


        
4条回答
  •  醉梦人生
    2020-12-10 03:58

    This fixes the issue for the UserCredentials, but you also seems to be a change to the AuthenticationContext type which no longer seems to have an AcquireToken method. You can address this by using AcquireTokenAsync

提交回复
热议问题