简体   繁体   中英

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

I am building a small client application in C#. I am trying to call a web service that is secured using Azure Active Directory.

How do I get a token from Azure Active Directory for use when calling the web service?

The AzureADSamples GitHub repo should have everything you need.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM