Package com.courier.services.async
Interface AuthServiceAsync
-
- All Implemented Interfaces:
public interface AuthServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceAuthServiceAsync.WithRawResponseA view of AuthServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract AuthServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract AuthServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<AuthIssueTokenResponse>issueToken(AuthIssueTokenParams params)Returns a new access token. abstract CompletableFuture<AuthIssueTokenResponse>issueToken(AuthIssueTokenParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract AuthServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract AuthServiceAsync 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<AuthIssueTokenResponse> issueToken(AuthIssueTokenParams params)
Returns a new access token.
-
issueToken
abstract CompletableFuture<AuthIssueTokenResponse> issueToken(AuthIssueTokenParams params, RequestOptions requestOptions)
-
-
-
-