Username password handler for Laserfiche Self-Hosted API Server to set the authorization header given repository ID, username, password, and base URL.
More...
|
| Task< bool > | AfterSendAsync (HttpResponseMessage httpResponseMessage, CancellationToken cancellationToken) |
| | Invoked after an HTTP request with the response message and cancellation token.
|
| |
| async Task< BeforeSendResult > | BeforeSendAsync (HttpRequestMessage httpRequestMessage, CancellationToken cancellationToken) |
| | Invoked before an HTTP request with the request message and cancellation token.
|
| |
| | UsernamePasswordHandler (string repositoryId, string username, string password, string baseUrl) |
| | Constructor.
|
| |
Username password handler for Laserfiche Self-Hosted API Server to set the authorization header given repository ID, username, password, and base URL.
◆ UsernamePasswordHandler()
◆ AfterSendAsync()
| Task< bool > AfterSendAsync |
( |
HttpResponseMessage |
httpResponseMessage, |
|
|
CancellationToken |
cancellationToken |
|
) |
| |
|
inline |
Invoked after an HTTP request with the response message and cancellation token.
- Parameters
-
| httpResponseMessage | |
| cancellationToken | |
- Returns
- True if the request should be retried.
Implements IHttpRequestHandler.
◆ BeforeSendAsync()
| async Task< BeforeSendResult > BeforeSendAsync |
( |
HttpRequestMessage |
httpRequestMessage, |
|
|
CancellationToken |
cancellationToken |
|
) |
| |
|
inline |
Invoked before an HTTP request with the request message and cancellation token.
- Parameters
-
| httpRequestMessage | |
| cancellationToken | |
- Returns
- BeforeSendResult
Implements IHttpRequestHandler.
The documentation for this class was generated from the following file:
- src/HttpHandlers/UsernamePasswordHandler.cs