[英]Azure AD authentication from username and password
我正在编写一个 WPF 应用程序,它将在我们的网络之外的客户端计算机上运行。 我想提示用户输入用户名和密码,然后根据我们的 Azure AD 身份验证测试该用户名和密码。 如果通过,用户将使用令牌访问我们的 BLOB 存储。
我无法获得任何可以执行上述操作的 c# 代码,任何人都可以在这里指出正确的方向。
您可以使用 Nuget 中的Microsoft.Identity.Client
进行 Azure AD 身份验证。 欲了解更多信息: https://github.com/Azure-Samples/active-directory-dotnet-native-desktop
还有这个链接:
https: //docs.microsoft.com/en-us/azure/active-directory/develop/tutorial-v2-windows-desktop https://github.com/Azure-Samples/active-directory-dotnet-native-desktop
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.