| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
CLIENT_NAME |
"AuthyJava" |
public static final String |
DEFAULT_API_URI |
"https://api.authy.com" |
public static final String |
VERSION |
"1.5.0" |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
HEADER_AUTHY_SIGNATURE |
"X-Authy-Signature" |
public static final String |
HEADER_AUTHY_SIGNATURE_NONCE |
"X-Authy-Signature-Nonce" |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
AUTHYID_ERROR |
"Param authyId cannot be null and should be the id of the user that will be authorized using OneTouch." |
public static final String |
DETAIL_ERROR |
"Each entry(key,value) for a detail needs to have not null or empty values and keys and it\'s lengths cannot exceed 200 max characters." |
public static final String |
HIDDEN_DETAIL_ERROR |
"Each entry(key,value) for a hidden detail needs to have not null or empty values and keys and it\'s lengths cannot exceed 200 max characters." |
public static final String |
LOGO_ERROR_DEFAULT |
"If you provide logos you should always provide the default Resolution." |
public static final String |
LOGO_ERROR_RES |
"The \'Resolution\' for a logo cannot be null." |
public static final String |
LOGO_ERROR_URL |
"The \'url\' for a logo cannot be null or empty and it\'s length needs to be less than 500 max characters." |
public static final String |
MESSAGE_ERROR |
"Param message cannot be null or empty and it\'s length needs to be less than 200 max characters." |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
APPROVAL_REQUEST_POS |
"/approval_requests" |
public static final String |
APPROVAL_REQUEST_PRE |
"/onetouch/json/users/" |
public static final String |
APPROVAL_REQUEST_STATUS |
"/onetouch/json/approval_requests/" |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
PHONE_INFO_API_PATH |
"/protected/json/phones/" |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
PHONE_VERIFICATION_API_PATH |
"/protected/json/phones/verification/" |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
ENCODE |
"UTF-8" |
public static final String |
JSON_CONTENT_TYPE |
"application/json" |
public static final String |
METHOD_GET |
"GET" |
public static final String |
METHOD_POST |
"POST" |
public static final String |
METHOD_PUT |
"PUT" |
public static final String |
XML_CONTENT_TYPE |
"application/xml" |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
VALID_TOKEN_MESSAGE |
"Token is valid." |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
TOKEN_VERIFICATION_PATH |
"/protected/json/verify/" |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
DEFAULT_COUNTRY_CODE |
"1" |
public static final String |
DELETE_USER_PATH |
"/protected/json/users/delete/" |
public static final String |
NEW_USER_PATH |
"/protected/json/users/new" |
public static final String |
ONE_CODE_CALL_PATH |
"/protected/json/call/" |
public static final String |
SMS_PATH |
"/protected/json/sms/" |
public static final String |
USER_STATUS_PATH |
"/protected/json/users/%d/status" |
Copyright © 2019. All rights reserved.