ADAL username/password flow in .net standard 1.4

2019-09-15 18:03发布

I'm trying to port a powershell module to .Net standard. One thing I notice is that the UserPasswordCredential class is not present in the .Net standard library. Is it not possible to perform a username/password flow login using adal in .Net Standard/Core?

1条回答
一夜七次
2楼-- · 2019-09-15 18:13

Yes, UserPasswordCredential is not available for .Net Core. However, as a workaround you can construct the HTTP request directly. More detail, you can refer the thread here.

查看更多
登录 后发表回答