Package com.courier.services.blocking
Interface AuthService
-
- All Implemented Interfaces:
public interface AuthService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceAuthService.WithRawResponseA view of AuthService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract AuthService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract AuthServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. AuthIssueTokenResponseissueToken(AuthIssueTokenParams params)Returns a new access token. abstract AuthIssueTokenResponseissueToken(AuthIssueTokenParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract AuthService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract AuthService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
issueToken
AuthIssueTokenResponse issueToken(AuthIssueTokenParams params)
Returns a new access token.
-
issueToken
abstract AuthIssueTokenResponse issueToken(AuthIssueTokenParams params, RequestOptions requestOptions)
-
-
-
-