public class TfaApi extends Object
| Modifier and Type | Method and Description |
|---|---|
TfaApplicationResponse |
createTfaApplication(TfaApplicationRequest tfaApplicationRequest)
Create 2FA application.
|
okhttp3.Call |
createTfaApplicationAsync(TfaApplicationRequest tfaApplicationRequest,
ApiCallback<TfaApplicationResponse> _callback)
Create 2FA application (asynchronously).
|
okhttp3.Call |
createTfaApplicationCall(TfaApplicationRequest tfaApplicationRequest,
ApiCallback _callback)
Build call for createTfaApplication.
|
ApiResponse<TfaApplicationResponse> |
createTfaApplicationWithHttpInfo(TfaApplicationRequest tfaApplicationRequest)
Create 2FA application.
|
TfaMessage |
createTfaMessageTemplate(String appId,
TfaCreateMessageRequest tfaCreateMessageRequest)
Create 2FA message template.
|
okhttp3.Call |
createTfaMessageTemplateAsync(String appId,
TfaCreateMessageRequest tfaCreateMessageRequest,
ApiCallback<TfaMessage> _callback)
Create 2FA message template (asynchronously).
|
okhttp3.Call |
createTfaMessageTemplateCall(String appId,
TfaCreateMessageRequest tfaCreateMessageRequest,
ApiCallback _callback)
Build call for createTfaMessageTemplate.
|
ApiResponse<TfaMessage> |
createTfaMessageTemplateWithHttpInfo(String appId,
TfaCreateMessageRequest tfaCreateMessageRequest)
Create 2FA message template.
|
ApiClient |
getApiClient() |
TfaApplicationResponse |
getTfaApplication(String appId)
Get 2FA application.
|
okhttp3.Call |
getTfaApplicationAsync(String appId,
ApiCallback<TfaApplicationResponse> _callback)
Get 2FA application (asynchronously).
|
okhttp3.Call |
getTfaApplicationCall(String appId,
ApiCallback _callback)
Build call for getTfaApplication.
|
List<TfaApplicationResponse> |
getTfaApplications()
Get 2FA applications.
|
okhttp3.Call |
getTfaApplicationsAsync(ApiCallback<List<TfaApplicationResponse>> _callback)
Get 2FA applications (asynchronously).
|
okhttp3.Call |
getTfaApplicationsCall(ApiCallback _callback)
Build call for getTfaApplications.
|
ApiResponse<List<TfaApplicationResponse>> |
getTfaApplicationsWithHttpInfo()
Get 2FA applications.
|
ApiResponse<TfaApplicationResponse> |
getTfaApplicationWithHttpInfo(String appId)
Get 2FA application.
|
TfaMessage |
getTfaMessageTemplate(String appId,
String msgId)
Get 2FA message template.
|
okhttp3.Call |
getTfaMessageTemplateAsync(String appId,
String msgId,
ApiCallback<TfaMessage> _callback)
Get 2FA message template (asynchronously).
|
okhttp3.Call |
getTfaMessageTemplateCall(String appId,
String msgId,
ApiCallback _callback)
Build call for getTfaMessageTemplate.
|
List<TfaMessage> |
getTfaMessageTemplates(String appId)
Get 2FA message templates.
|
okhttp3.Call |
getTfaMessageTemplatesAsync(String appId,
ApiCallback<List<TfaMessage>> _callback)
Get 2FA message templates (asynchronously).
|
okhttp3.Call |
getTfaMessageTemplatesCall(String appId,
ApiCallback _callback)
Build call for getTfaMessageTemplates.
|
ApiResponse<List<TfaMessage>> |
getTfaMessageTemplatesWithHttpInfo(String appId)
Get 2FA message templates.
|
ApiResponse<TfaMessage> |
getTfaMessageTemplateWithHttpInfo(String appId,
String msgId)
Get 2FA message template.
|
TfaVerificationResponse |
getTfaVerificationStatus(String msisdn,
String appId,
Boolean verified,
Boolean sent)
Get 2FA verification status.
|
okhttp3.Call |
getTfaVerificationStatusAsync(String msisdn,
String appId,
Boolean verified,
Boolean sent,
ApiCallback<TfaVerificationResponse> _callback)
Get 2FA verification status (asynchronously).
|
okhttp3.Call |
getTfaVerificationStatusCall(String msisdn,
String appId,
Boolean verified,
Boolean sent,
ApiCallback _callback)
Build call for getTfaVerificationStatus.
|
ApiResponse<TfaVerificationResponse> |
getTfaVerificationStatusWithHttpInfo(String msisdn,
String appId,
Boolean verified,
Boolean sent)
Get 2FA verification status.
|
TfaStartAuthenticationResponse |
resendTfaPinCodeOverSms(String pinId,
TfaResendPinRequest tfaResendPinRequest)
Resend 2FA PIN code over SMS.
|
okhttp3.Call |
resendTfaPinCodeOverSmsAsync(String pinId,
TfaResendPinRequest tfaResendPinRequest,
ApiCallback<TfaStartAuthenticationResponse> _callback)
Resend 2FA PIN code over SMS (asynchronously).
|
okhttp3.Call |
resendTfaPinCodeOverSmsCall(String pinId,
TfaResendPinRequest tfaResendPinRequest,
ApiCallback _callback)
Build call for resendTfaPinCodeOverSms.
|
ApiResponse<TfaStartAuthenticationResponse> |
resendTfaPinCodeOverSmsWithHttpInfo(String pinId,
TfaResendPinRequest tfaResendPinRequest)
Resend 2FA PIN code over SMS.
|
TfaStartAuthenticationResponse |
resendTfaPinCodeOverVoice(String pinId,
TfaResendPinRequest tfaResendPinRequest)
Resend 2FA PIN code over Voice.
|
okhttp3.Call |
resendTfaPinCodeOverVoiceAsync(String pinId,
TfaResendPinRequest tfaResendPinRequest,
ApiCallback<TfaStartAuthenticationResponse> _callback)
Resend 2FA PIN code over Voice (asynchronously).
|
okhttp3.Call |
resendTfaPinCodeOverVoiceCall(String pinId,
TfaResendPinRequest tfaResendPinRequest,
ApiCallback _callback)
Build call for resendTfaPinCodeOverVoice.
|
ApiResponse<TfaStartAuthenticationResponse> |
resendTfaPinCodeOverVoiceWithHttpInfo(String pinId,
TfaResendPinRequest tfaResendPinRequest)
Resend 2FA PIN code over Voice.
|
TfaStartAuthenticationResponse |
sendTfaPinCodeOverSms(Boolean ncNeeded,
TfaStartAuthenticationRequest tfaStartAuthenticationRequest)
Send 2FA PIN code over SMS.
|
okhttp3.Call |
sendTfaPinCodeOverSmsAsync(Boolean ncNeeded,
TfaStartAuthenticationRequest tfaStartAuthenticationRequest,
ApiCallback<TfaStartAuthenticationResponse> _callback)
Send 2FA PIN code over SMS (asynchronously).
|
okhttp3.Call |
sendTfaPinCodeOverSmsCall(Boolean ncNeeded,
TfaStartAuthenticationRequest tfaStartAuthenticationRequest,
ApiCallback _callback)
Build call for sendTfaPinCodeOverSms.
|
ApiResponse<TfaStartAuthenticationResponse> |
sendTfaPinCodeOverSmsWithHttpInfo(Boolean ncNeeded,
TfaStartAuthenticationRequest tfaStartAuthenticationRequest)
Send 2FA PIN code over SMS.
|
TfaStartAuthenticationResponse |
sendTfaPinCodeOverVoice(TfaStartAuthenticationRequest tfaStartAuthenticationRequest)
Send 2FA PIN code over Voice.
|
okhttp3.Call |
sendTfaPinCodeOverVoiceAsync(TfaStartAuthenticationRequest tfaStartAuthenticationRequest,
ApiCallback<TfaStartAuthenticationResponse> _callback)
Send 2FA PIN code over Voice (asynchronously).
|
okhttp3.Call |
sendTfaPinCodeOverVoiceCall(TfaStartAuthenticationRequest tfaStartAuthenticationRequest,
ApiCallback _callback)
Build call for sendTfaPinCodeOverVoice.
|
ApiResponse<TfaStartAuthenticationResponse> |
sendTfaPinCodeOverVoiceWithHttpInfo(TfaStartAuthenticationRequest tfaStartAuthenticationRequest)
Send 2FA PIN code over Voice.
|
void |
setApiClient(ApiClient apiClient) |
TfaApplicationResponse |
updateTfaApplication(String appId,
TfaApplicationRequest tfaApplicationRequest)
Update 2FA application.
|
okhttp3.Call |
updateTfaApplicationAsync(String appId,
TfaApplicationRequest tfaApplicationRequest,
ApiCallback<TfaApplicationResponse> _callback)
Update 2FA application (asynchronously).
|
okhttp3.Call |
updateTfaApplicationCall(String appId,
TfaApplicationRequest tfaApplicationRequest,
ApiCallback _callback)
Build call for updateTfaApplication.
|
ApiResponse<TfaApplicationResponse> |
updateTfaApplicationWithHttpInfo(String appId,
TfaApplicationRequest tfaApplicationRequest)
Update 2FA application.
|
TfaMessage |
updateTfaMessageTemplate(String appId,
String msgId,
TfaUpdateMessageRequest tfaUpdateMessageRequest)
Update 2FA message template.
|
okhttp3.Call |
updateTfaMessageTemplateAsync(String appId,
String msgId,
TfaUpdateMessageRequest tfaUpdateMessageRequest,
ApiCallback<TfaMessage> _callback)
Update 2FA message template (asynchronously).
|
okhttp3.Call |
updateTfaMessageTemplateCall(String appId,
String msgId,
TfaUpdateMessageRequest tfaUpdateMessageRequest,
ApiCallback _callback)
Build call for updateTfaMessageTemplate.
|
ApiResponse<TfaMessage> |
updateTfaMessageTemplateWithHttpInfo(String appId,
String msgId,
TfaUpdateMessageRequest tfaUpdateMessageRequest)
Update 2FA message template.
|
TfaVerifyPinResponse |
verifyTfaPhoneNumber(String pinId,
TfaVerifyPinRequest tfaVerifyPinRequest)
Verify phone number.
|
okhttp3.Call |
verifyTfaPhoneNumberAsync(String pinId,
TfaVerifyPinRequest tfaVerifyPinRequest,
ApiCallback<TfaVerifyPinResponse> _callback)
Verify phone number (asynchronously).
|
okhttp3.Call |
verifyTfaPhoneNumberCall(String pinId,
TfaVerifyPinRequest tfaVerifyPinRequest,
ApiCallback _callback)
Build call for verifyTfaPhoneNumber.
|
ApiResponse<TfaVerifyPinResponse> |
verifyTfaPhoneNumberWithHttpInfo(String pinId,
TfaVerifyPinRequest tfaVerifyPinRequest)
Verify phone number.
|
public TfaApi()
public TfaApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call createTfaApplicationCall(TfaApplicationRequest tfaApplicationRequest, ApiCallback _callback) throws ApiException
tfaApplicationRequest - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic TfaApplicationResponse createTfaApplication(TfaApplicationRequest tfaApplicationRequest) throws ApiException
tfaApplicationRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<TfaApplicationResponse> createTfaApplicationWithHttpInfo(TfaApplicationRequest tfaApplicationRequest) throws ApiException
tfaApplicationRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic okhttp3.Call createTfaApplicationAsync(TfaApplicationRequest tfaApplicationRequest, ApiCallback<TfaApplicationResponse> _callback) throws ApiException
tfaApplicationRequest - (optional)_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 okhttp3.Call createTfaMessageTemplateCall(String appId, TfaCreateMessageRequest tfaCreateMessageRequest, ApiCallback _callback) throws ApiException
appId - ID of application for which requested message was created. (required)tfaCreateMessageRequest - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic TfaMessage createTfaMessageTemplate(String appId, TfaCreateMessageRequest tfaCreateMessageRequest) throws ApiException
appId - ID of application for which requested message was created. (required)tfaCreateMessageRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<TfaMessage> createTfaMessageTemplateWithHttpInfo(String appId, TfaCreateMessageRequest tfaCreateMessageRequest) throws ApiException
appId - ID of application for which requested message was created. (required)tfaCreateMessageRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic okhttp3.Call createTfaMessageTemplateAsync(String appId, TfaCreateMessageRequest tfaCreateMessageRequest, ApiCallback<TfaMessage> _callback) throws ApiException
appId - ID of application for which requested message was created. (required)tfaCreateMessageRequest - (optional)_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 okhttp3.Call getTfaApplicationCall(String appId, ApiCallback _callback) throws ApiException
appId - ID of application for which configuration view was requested. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic TfaApplicationResponse getTfaApplication(String appId) throws ApiException
appId - ID of application for which configuration view was requested. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<TfaApplicationResponse> getTfaApplicationWithHttpInfo(String appId) throws ApiException
appId - ID of application for which configuration view was requested. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic okhttp3.Call getTfaApplicationAsync(String appId, ApiCallback<TfaApplicationResponse> _callback) throws ApiException
appId - ID of application for which configuration view was requested. (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 okhttp3.Call getTfaApplicationsCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic List<TfaApplicationResponse> getTfaApplications() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<List<TfaApplicationResponse>> getTfaApplicationsWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic okhttp3.Call getTfaApplicationsAsync(ApiCallback<List<TfaApplicationResponse>> _callback) throws ApiException
_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 okhttp3.Call getTfaMessageTemplateCall(String appId, String msgId, ApiCallback _callback) throws ApiException
appId - ID of application for which requested message was created. (required)msgId - Requested message ID. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic TfaMessage getTfaMessageTemplate(String appId, String msgId) throws ApiException
appId - ID of application for which requested message was created. (required)msgId - Requested message ID. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<TfaMessage> getTfaMessageTemplateWithHttpInfo(String appId, String msgId) throws ApiException
appId - ID of application for which requested message was created. (required)msgId - Requested message ID. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic okhttp3.Call getTfaMessageTemplateAsync(String appId, String msgId, ApiCallback<TfaMessage> _callback) throws ApiException
appId - ID of application for which requested message was created. (required)msgId - Requested message ID. (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 okhttp3.Call getTfaMessageTemplatesCall(String appId, ApiCallback _callback) throws ApiException
appId - ID of application for which requested message was created. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic List<TfaMessage> getTfaMessageTemplates(String appId) throws ApiException
appId - ID of application for which requested message was created. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<List<TfaMessage>> getTfaMessageTemplatesWithHttpInfo(String appId) throws ApiException
appId - ID of application for which requested message was created. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic okhttp3.Call getTfaMessageTemplatesAsync(String appId, ApiCallback<List<TfaMessage>> _callback) throws ApiException
appId - ID of application for which requested message was created. (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 okhttp3.Call getTfaVerificationStatusCall(String msisdn, String appId, Boolean verified, Boolean sent, ApiCallback _callback) throws ApiException
msisdn - Filter by msisdn (phone number) for which verification status is checked.
(required)appId - ID of 2-FA application for which phone number verification status is requested.
(required)verified - Filter by verified (true or false). (optional)sent - Filter by message sent status (true or false). (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic TfaVerificationResponse getTfaVerificationStatus(String msisdn, String appId, Boolean verified, Boolean sent) throws ApiException
msisdn - Filter by msisdn (phone number) for which verification status is checked.
(required)appId - ID of 2-FA application for which phone number verification status is requested.
(required)verified - Filter by verified (true or false). (optional)sent - Filter by message sent status (true or false). (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<TfaVerificationResponse> getTfaVerificationStatusWithHttpInfo(String msisdn, String appId, Boolean verified, Boolean sent) throws ApiException
msisdn - Filter by msisdn (phone number) for which verification status is checked.
(required)appId - ID of 2-FA application for which phone number verification status is requested.
(required)verified - Filter by verified (true or false). (optional)sent - Filter by message sent status (true or false). (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic okhttp3.Call getTfaVerificationStatusAsync(String msisdn, String appId, Boolean verified, Boolean sent, ApiCallback<TfaVerificationResponse> _callback) throws ApiException
msisdn - Filter by msisdn (phone number) for which verification status is checked.
(required)appId - ID of 2-FA application for which phone number verification status is requested.
(required)verified - Filter by verified (true or false). (optional)sent - Filter by message sent status (true or false). (optional)_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 okhttp3.Call resendTfaPinCodeOverSmsCall(String pinId, TfaResendPinRequest tfaResendPinRequest, ApiCallback _callback) throws ApiException
pinId - ID of the pin code that has to be verified. (required)tfaResendPinRequest - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic TfaStartAuthenticationResponse resendTfaPinCodeOverSms(String pinId, TfaResendPinRequest tfaResendPinRequest) throws ApiException
pinId - ID of the pin code that has to be verified. (required)tfaResendPinRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<TfaStartAuthenticationResponse> resendTfaPinCodeOverSmsWithHttpInfo(String pinId, TfaResendPinRequest tfaResendPinRequest) throws ApiException
pinId - ID of the pin code that has to be verified. (required)tfaResendPinRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic okhttp3.Call resendTfaPinCodeOverSmsAsync(String pinId, TfaResendPinRequest tfaResendPinRequest, ApiCallback<TfaStartAuthenticationResponse> _callback) throws ApiException
pinId - ID of the pin code that has to be verified. (required)tfaResendPinRequest - (optional)_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 okhttp3.Call resendTfaPinCodeOverVoiceCall(String pinId, TfaResendPinRequest tfaResendPinRequest, ApiCallback _callback) throws ApiException
pinId - ID of the pin code that has to be verified. (required)tfaResendPinRequest - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic TfaStartAuthenticationResponse resendTfaPinCodeOverVoice(String pinId, TfaResendPinRequest tfaResendPinRequest) throws ApiException
pinId - ID of the pin code that has to be verified. (required)tfaResendPinRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<TfaStartAuthenticationResponse> resendTfaPinCodeOverVoiceWithHttpInfo(String pinId, TfaResendPinRequest tfaResendPinRequest) throws ApiException
pinId - ID of the pin code that has to be verified. (required)tfaResendPinRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic okhttp3.Call resendTfaPinCodeOverVoiceAsync(String pinId, TfaResendPinRequest tfaResendPinRequest, ApiCallback<TfaStartAuthenticationResponse> _callback) throws ApiException
pinId - ID of the pin code that has to be verified. (required)tfaResendPinRequest - (optional)_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 okhttp3.Call sendTfaPinCodeOverSmsCall(Boolean ncNeeded, TfaStartAuthenticationRequest tfaStartAuthenticationRequest, ApiCallback _callback) throws ApiException
ncNeeded - Indicates if Number Lookup is needed before sending the 2FA message. If the
parameter value is true, Number Lookup will be requested before sending the SMS. If the
value is false, the SMS will be sent without requesting Number Lookup. Field's default
value is `true`. (optional)tfaStartAuthenticationRequest - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic TfaStartAuthenticationResponse sendTfaPinCodeOverSms(Boolean ncNeeded, TfaStartAuthenticationRequest tfaStartAuthenticationRequest) throws ApiException
ncNeeded - Indicates if Number Lookup is needed before sending the 2FA message. If the
parameter value is true, Number Lookup will be requested before sending the SMS. If the
value is false, the SMS will be sent without requesting Number Lookup. Field's default
value is `true`. (optional)tfaStartAuthenticationRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<TfaStartAuthenticationResponse> sendTfaPinCodeOverSmsWithHttpInfo(Boolean ncNeeded, TfaStartAuthenticationRequest tfaStartAuthenticationRequest) throws ApiException
ncNeeded - Indicates if Number Lookup is needed before sending the 2FA message. If the
parameter value is true, Number Lookup will be requested before sending the SMS. If the
value is false, the SMS will be sent without requesting Number Lookup. Field's default
value is `true`. (optional)tfaStartAuthenticationRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic okhttp3.Call sendTfaPinCodeOverSmsAsync(Boolean ncNeeded, TfaStartAuthenticationRequest tfaStartAuthenticationRequest, ApiCallback<TfaStartAuthenticationResponse> _callback) throws ApiException
ncNeeded - Indicates if Number Lookup is needed before sending the 2FA message. If the
parameter value is true, Number Lookup will be requested before sending the SMS. If the
value is false, the SMS will be sent without requesting Number Lookup. Field's default
value is `true`. (optional)tfaStartAuthenticationRequest - (optional)_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 okhttp3.Call sendTfaPinCodeOverVoiceCall(TfaStartAuthenticationRequest tfaStartAuthenticationRequest, ApiCallback _callback) throws ApiException
tfaStartAuthenticationRequest - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic TfaStartAuthenticationResponse sendTfaPinCodeOverVoice(TfaStartAuthenticationRequest tfaStartAuthenticationRequest) throws ApiException
tfaStartAuthenticationRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<TfaStartAuthenticationResponse> sendTfaPinCodeOverVoiceWithHttpInfo(TfaStartAuthenticationRequest tfaStartAuthenticationRequest) throws ApiException
tfaStartAuthenticationRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic okhttp3.Call sendTfaPinCodeOverVoiceAsync(TfaStartAuthenticationRequest tfaStartAuthenticationRequest, ApiCallback<TfaStartAuthenticationResponse> _callback) throws ApiException
tfaStartAuthenticationRequest - (optional)_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 okhttp3.Call updateTfaApplicationCall(String appId, TfaApplicationRequest tfaApplicationRequest, ApiCallback _callback) throws ApiException
appId - ID of application that should be updated. (required)tfaApplicationRequest - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic TfaApplicationResponse updateTfaApplication(String appId, TfaApplicationRequest tfaApplicationRequest) throws ApiException
appId - ID of application that should be updated. (required)tfaApplicationRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<TfaApplicationResponse> updateTfaApplicationWithHttpInfo(String appId, TfaApplicationRequest tfaApplicationRequest) throws ApiException
appId - ID of application that should be updated. (required)tfaApplicationRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic okhttp3.Call updateTfaApplicationAsync(String appId, TfaApplicationRequest tfaApplicationRequest, ApiCallback<TfaApplicationResponse> _callback) throws ApiException
appId - ID of application that should be updated. (required)tfaApplicationRequest - (optional)_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 okhttp3.Call updateTfaMessageTemplateCall(String appId, String msgId, TfaUpdateMessageRequest tfaUpdateMessageRequest, ApiCallback _callback) throws ApiException
appId - ID of application for which requested message was created. (required)msgId - Requested message ID. (required)tfaUpdateMessageRequest - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic TfaMessage updateTfaMessageTemplate(String appId, String msgId, TfaUpdateMessageRequest tfaUpdateMessageRequest) throws ApiException
appId - ID of application for which requested message was created. (required)msgId - Requested message ID. (required)tfaUpdateMessageRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<TfaMessage> updateTfaMessageTemplateWithHttpInfo(String appId, String msgId, TfaUpdateMessageRequest tfaUpdateMessageRequest) throws ApiException
appId - ID of application for which requested message was created. (required)msgId - Requested message ID. (required)tfaUpdateMessageRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic okhttp3.Call updateTfaMessageTemplateAsync(String appId, String msgId, TfaUpdateMessageRequest tfaUpdateMessageRequest, ApiCallback<TfaMessage> _callback) throws ApiException
appId - ID of application for which requested message was created. (required)msgId - Requested message ID. (required)tfaUpdateMessageRequest - (optional)_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 okhttp3.Call verifyTfaPhoneNumberCall(String pinId, TfaVerifyPinRequest tfaVerifyPinRequest, ApiCallback _callback) throws ApiException
pinId - ID of the pin code that has to be verified. (required)tfaVerifyPinRequest - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic TfaVerifyPinResponse verifyTfaPhoneNumber(String pinId, TfaVerifyPinRequest tfaVerifyPinRequest) throws ApiException
pinId - ID of the pin code that has to be verified. (required)tfaVerifyPinRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<TfaVerifyPinResponse> verifyTfaPhoneNumberWithHttpInfo(String pinId, TfaVerifyPinRequest tfaVerifyPinRequest) throws ApiException
pinId - ID of the pin code that has to be verified. (required)tfaVerifyPinRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic okhttp3.Call verifyTfaPhoneNumberAsync(String pinId, TfaVerifyPinRequest tfaVerifyPinRequest, ApiCallback<TfaVerifyPinResponse> _callback) throws ApiException
pinId - ID of the pin code that has to be verified. (required)tfaVerifyPinRequest - (optional)_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 © 2022. All rights reserved.