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