使用C#中的代码授权进行Azure AD身份验证 [英] Azure AD authentication using code grant in c#

查看:510
本文介绍了使用C#中的代码授权进行Azure AD身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用代码授予方法来实现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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆