This repository has been archived by the owner on Jun 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 214
with proxy
Bogdan Gavril edited this page Feb 21, 2019
·
14 revisions
you can use the system level API: the HttpClients used by ADAL.NET are able to use it.
using System.Net;
...
{
// Set the proxy
IWebProxy proxy = new WebProxy("http://proxyserver:80", true);
// This does not work on .Net Core https://github.com/dotnet/corefx/issues/7037
WebRequest.DefaultWebProxy = proxy;
// Use ADAL.NET
}
- Home
- Why use ADAL.NET?
- Register your app with AAD
- AuthenticationContext
- Acquiring Tokens
- Calling a protected API
- Acquiring a token interactively
- Acquiring tokens silently
- Using Device Code Flow
- Using Embedded Webview and System Browser in ADAL.NET and MSAL.NET
- With no user
- In the name of a user
- on behalf of (Service to service calls)
- by authorization code (Web Apps)
- Use async controller actions
- Exception types
- using Broker on iOS and Android
- Logging
- Token Cache serialization
- User management
- Using ADAL with a proxy
- Authentication context in multi-tenant scenarios
- Troubleshooting MFA in a WebApp or Web API
- Provide your own HttpClient
- iOS Keychain Access