public class AuthenticationApi extends Object
| Constructor and Description |
|---|
AuthenticationApi() |
AuthenticationApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
String |
orgNameAppNameTokenPost(String orgName,
String appName,
Token body)
Request an Authentication Token
All of the Hyphenate API endpoints requires authentication token for session, unless specified otherwise.
|
com.squareup.okhttp.Call |
orgNameAppNameTokenPostAsync(String orgName,
String appName,
Token body,
ApiCallback<String> callback)
Request an Authentication Token (asynchronously)
All of the Hyphenate API endpoints requires authentication token for session, unless specified otherwise.
|
ApiResponse<String> |
orgNameAppNameTokenPostWithHttpInfo(String orgName,
String appName,
Token body)
Request an Authentication Token
All of the Hyphenate API endpoints requires authentication token for session, unless specified otherwise.
|
void |
setApiClient(ApiClient apiClient) |
public AuthenticationApi()
public AuthenticationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public String orgNameAppNameTokenPost(String orgName, String appName, Token body) throws ApiException
orgName - Organization ID (required)appName - Application name (required)body - client_id and client_secret can be found in the application details page of the Hyphenate console (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameTokenPostWithHttpInfo(String orgName, String appName, Token body) throws ApiException
orgName - Organization ID (required)appName - Application name (required)body - client_id and client_secret can be found in the application details page of the Hyphenate console (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameTokenPostAsync(String orgName, String appName, Token body, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)body - client_id and client_secret can be found in the application details page of the Hyphenate console (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2017. All rights reserved.