https://github.com/toburger/system.net.http.digestauthmessagehandler
Digest authentication support for System.Net.Http.HttpClient
https://github.com/toburger/system.net.http.digestauthmessagehandler
digest-authentication dotnet-standard httpclient
Last synced: about 1 year ago
JSON representation
Digest authentication support for System.Net.Http.HttpClient
- Host: GitHub
- URL: https://github.com/toburger/system.net.http.digestauthmessagehandler
- Owner: toburger
- Created: 2018-05-15T09:16:16.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-15T09:41:08.000Z (about 8 years ago)
- Last Synced: 2025-01-26T06:08:40.839Z (over 1 year ago)
- Topics: digest-authentication, dotnet-standard, httpclient
- Language: C#
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# System.Net.Http.DigestAuthMessageHandler
[](https://travis-ci.org/toburger/System.Net.Http.DigestAuthMessageHandler)
Features
* Authentication via Digest
* Cache the credential token for subsequent requests
* Automatically renew the credential token
Usage
```csharp
using System.Net.Http;
var clientHandler = new HttpClientHandler(digestAuthHandler);
var digestAuthHandler = new DigestAuthMessageHandler(clientHandler, "", "");
var client = new HttpClient(digestAuthHandler);
```