简体   繁体   English

如何从客户端应用程序针对Azure Active Directory进行身份验证?

[英]How do I authenticate against Azure Active Directory from my client app?

I am building a small client application in C#. 我正在用C#构建一个小型客户端应用程序。 I am trying to call a web service that is secured using Azure Active Directory. 我正在尝试调用使用Azure Active Directory保护的Web服务。

How do I get a token from Azure Active Directory for use when calling the web service? 如何在调用Web服务时从Azure Active Directory获取令牌以供使用?

The AzureADSamples GitHub repo should have everything you need. AzureADSamples GitHub存储库应具有您所需的一切。

Either the NativeClient-DotNet (if you're doing impersonation) or NativeClient-Headless-DotNet (if you're using a single application account) examples should be very close to what you're doing. NativeClient-DotNet (如果您要进行模拟)或NativeClient-Headless-DotNet (如果您使用单个应用程序帐户)示例都应该非常接近您的操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何从ASP.NET Web服务代码对Active Directory进行身份验证? - How do I authenticate against Active Directory from ASP.NET web service code? 针对Windows Azure Active Directory(Web服务)进行身份验证 - Authenticate against Windows Azure Active Directory (Web Service) 如何从Sharepoint 2013 Web服务和活动目录对用户进行身份验证 - How to authenticate users from sharepoint 2013 web service and active directory 如何让我的客户端应用程序识别我的Web服务中的对象作为它已知的类型? - How do I make my client app recognize an object from my webservice as a type it already knows? 如何针对Web上的Spring Security使用Jersey客户端进行身份验证 - How authenticate using Jersey Client against a Spring Security on WS 我如何知道Active Directory使用哪种身份验证? - How do I know which type of authentication Active Directory is using? 如何从我的应用程序对UCM进行身份验证? - How can I authenticate on UCM from my application? 使用ios应用程序中的活动目录用户对Web服务进行身份验证? - Authenticate a webservice with active directory users in ios application? 如何验证在Web App中调用Web服务的Windows Mobile客户端 - How to authenticate a Windows Mobile client calling web services in a Web App 如何针对Web服务对本机应用程序进行身份验证? - How to authenticate native application against a Web Service?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM