public class LoginApi
extends java.lang.Object
| Constructor and Description |
|---|
LoginApi() |
LoginApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
LoginResponse |
login(java.lang.String idToken)
After aquiring and OAuth2 openId id_token from IdP (like google login), present it here and proceed with the required flow.
|
com.squareup.okhttp.Call |
loginAsync(java.lang.String idToken,
ApiCallback<LoginResponse> callback)
After aquiring and OAuth2 openId id_token from IdP (like google login), present it here and proceed with the required flow.
|
com.squareup.okhttp.Call |
loginCall(java.lang.String idToken,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for login
|
void |
loginInviteUser(java.lang.String email)
Invite (bind) an existing user that is not already bound to an org, to your org
|
com.squareup.okhttp.Call |
loginInviteUserAsync(java.lang.String email,
ApiCallback<java.lang.Void> callback)
Invite (bind) an existing user that is not already bound to an org, to your org (asynchronously)
|
com.squareup.okhttp.Call |
loginInviteUserCall(java.lang.String email,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for loginInviteUser
|
ApiResponse<java.lang.Void> |
loginInviteUserWithHttpInfo(java.lang.String email)
Invite (bind) an existing user that is not already bound to an org, to your org
|
void |
loginUninviteUser(java.lang.String email)
Uninvite (remove) an existing user that is part of your org
|
com.squareup.okhttp.Call |
loginUninviteUserAsync(java.lang.String email,
ApiCallback<java.lang.Void> callback)
Uninvite (remove) an existing user that is part of your org (asynchronously)
|
com.squareup.okhttp.Call |
loginUninviteUserCall(java.lang.String email,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for loginUninviteUser
|
ApiResponse<java.lang.Void> |
loginUninviteUserWithHttpInfo(java.lang.String email)
Uninvite (remove) an existing user that is part of your org
|
ApiResponse<LoginResponse> |
loginWithHttpInfo(java.lang.String idToken)
After aquiring and OAuth2 openId id_token from IdP (like google login), present it here and proceed with the required flow.
|
void |
setApiClient(ApiClient apiClient) |
public LoginApi()
public LoginApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call loginCall(java.lang.String idToken,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
idToken - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic LoginResponse login(java.lang.String idToken) throws ApiException
idToken - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<LoginResponse> loginWithHttpInfo(java.lang.String idToken) throws ApiException
idToken - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call loginAsync(java.lang.String idToken,
ApiCallback<LoginResponse> callback)
throws ApiException
idToken - (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 objectpublic com.squareup.okhttp.Call loginInviteUserCall(java.lang.String email,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
email - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void loginInviteUser(java.lang.String email)
throws ApiException
email - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> loginInviteUserWithHttpInfo(java.lang.String email) throws ApiException
email - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call loginInviteUserAsync(java.lang.String email,
ApiCallback<java.lang.Void> callback)
throws ApiException
email - (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 objectpublic com.squareup.okhttp.Call loginUninviteUserCall(java.lang.String email,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
email - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void loginUninviteUser(java.lang.String email)
throws ApiException
email - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> loginUninviteUserWithHttpInfo(java.lang.String email) throws ApiException
email - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call loginUninviteUserAsync(java.lang.String email,
ApiCallback<java.lang.Void> callback)
throws ApiException
email - (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 object