Package com.courier.services.async
Interface AuthServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface AuthServiceAsync.WithRawResponseA view of AuthServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description abstract AuthServiceAsync.WithRawResponsewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<HttpResponseFor<AuthIssueTokenResponse>>issueToken(AuthIssueTokenParams params)Returns a raw HTTP response for post /auth/issue-token, but is otherwise the same as AuthServiceAsync.issueToken.abstract CompletableFuture<HttpResponseFor<AuthIssueTokenResponse>>issueToken(AuthIssueTokenParams params, RequestOptions requestOptions)-
-
Method Detail
-
withOptions
abstract AuthServiceAsync.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
issueToken
CompletableFuture<HttpResponseFor<AuthIssueTokenResponse>> issueToken(AuthIssueTokenParams params)
Returns a raw HTTP response for
post /auth/issue-token, but is otherwise the same as AuthServiceAsync.issueToken.
-
issueToken
abstract CompletableFuture<HttpResponseFor<AuthIssueTokenResponse>> issueToken(AuthIssueTokenParams params, RequestOptions requestOptions)
-
-
-
-