public interface AuthManager
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
apply(HttpRequest httpRequest)
Adds authentication to the given HttpRequest.
|
CompletableFuture<HttpRequest> |
applyAsync(HttpRequest httpRequest)
Asynchronously adds authentication to the given HttpRequest.
|
HttpRequest apply(HttpRequest httpRequest) throws ApiException, IOException
httpRequest - HttpRequest object for authenticationApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.CompletableFuture<HttpRequest> applyAsync(HttpRequest httpRequest)
httpRequest - HttpRequest object for authenticationCopyright © 2022. All rights reserved.