使用C#中的代码授权进行Azure AD身份验证 [英] Azure AD authentication using code grant in c#
问题描述
是否可以使用代码授予方法来实现Azure AD身份验证,而无需Microsoft登录UI临时页面?大概就像使用c#HttpClient库调用HttpPost和HttpGet.
请注意,我们只需要使用代码授予方法而不是密码授予方法(Graph API)即可实现.
Raj
Is it possible to achieve azure AD authentication using code grant approach without having Microsoft Login UI interim page? Probably like calling HttpPost and HttpGet using c# HttpClient library.
Please be noted that we need to achieve this using code grant approach only and not password grant approach(Graph API).
Raj
推荐答案
请参阅此https://stackoverflow.com/questions/52495183/azure-ad-authentication-using-code-grant -in-c-sharp
See this https://stackoverflow.com/questions/52495183/azure-ad-authentication-using-code-grant-in-c-sharp
和
Azure广告中设备流的工作方式
How device flow works in Azure ad
https://joonasw.net/view/device-code-flow
https://joonasw.net/view/device-code-flow
这篇关于使用C#中的代码授权进行Azure AD身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!