| Package | Description |
|---|---|
| io.formapi |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
ApiClient.addAuthorization(String authName,
okhttp3.Interceptor authorization)
Adds an authorization to be used by the client
|
ApiClient |
ApiClient.configureAuthorizationFlow(String clientId,
String clientSecret,
String redirectURI)
Helper method to configure the oauth accessCode/implicit flow parameters
|
ApiClient |
ApiClient.registerAccessTokenListener(OAuth.AccessTokenListener accessTokenListener)
Configures a listener which is notified when a new access token is received.
|
ApiClient |
ApiClient.setAccessToken(String accessToken)
Helper method to pre-set the oauth access token of the first oauth found in the apiAuthorizations (there should be only one)
|
ApiClient |
ApiClient.setAdapterBuilder(retrofit2.Retrofit.Builder adapterBuilder) |
ApiClient |
ApiClient.setApiAuthorizations(Map<String,okhttp3.Interceptor> apiAuthorizations) |
ApiClient |
ApiClient.setApiKey(String apiKey)
Helper method to configure the first api key found
|
ApiClient |
ApiClient.setCredentials(String username,
String password)
Helper method to configure the username/password for basic auth or password oauth
|
ApiClient |
ApiClient.setDateFormat(DateFormat dateFormat) |
ApiClient |
ApiClient.setLocalDateFormat(org.threeten.bp.format.DateTimeFormatter dateFormat) |
ApiClient |
ApiClient.setOffsetDateTimeFormat(org.threeten.bp.format.DateTimeFormatter dateFormat) |
ApiClient |
ApiClient.setSqlDateFormat(DateFormat dateFormat) |
Copyright © 2019. All rights reserved.