public class OneTouch extends Resource
Copyright © 2017 Twilio, Inc. All Rights Reserved.
Resource.Response| Modifier and Type | Field and Description |
|---|---|
static String |
APPROVAL_REQUEST_POS |
static String |
APPROVAL_REQUEST_PRE |
static String |
APPROVAL_REQUEST_STATUS |
ENCODE, JSON_CONTENT_TYPE, METHOD_GET, METHOD_POST, METHOD_PUT, XML_CONTENT_TYPE| Constructor and Description |
|---|
OneTouch(String uri,
String key) |
OneTouch(String uri,
String apiKey,
boolean testFlag) |
| Modifier and Type | Method and Description |
|---|---|
OneTouchResponse |
getApprovalRequestStatus(String uuid) |
OneTouchResponse |
sendApprovalRequest(ApprovalRequestParams approvalRequestParams)
Sends the OneTouch's approval request to the Authy servers and returns the OneTouchResponse that comes back.
|
public static final String APPROVAL_REQUEST_PRE
public static final String APPROVAL_REQUEST_POS
public static final String APPROVAL_REQUEST_STATUS
public OneTouchResponse sendApprovalRequest(ApprovalRequestParams approvalRequestParams) throws AuthyException
approvalRequestParams - The bean wrapping the user's Authy approval request built using the ApprovalRequest.BuilderAuthyExceptionpublic OneTouchResponse getApprovalRequestStatus(String uuid) throws OneTouchException
OneTouchExceptionCopyright © 2019. All rights reserved.