| Package | Description |
|---|---|
| com.authy | |
| com.authy.api |
| Modifier and Type | Class and Description |
|---|---|
class |
OneTouchException |
| Modifier and Type | Method and Description |
|---|---|
Verification |
PhoneVerification.check(String phoneNumber,
String countryCode,
String code) |
Verification |
PhoneVerification.check(String phoneNumber,
String countryCode,
String code,
Params params) |
User |
Users.createUser(String email,
String phone)
Create a new user using his e-mail and phone.
|
User |
Users.createUser(String email,
String phone,
String countryCode)
Create a new user using his e-mail, phone and country code.
|
Resource.Response |
Resource.delete(String path,
Formattable data)
DELETE method.
|
Hash |
Users.deleteUser(int userId)
Delete a user.
|
Resource.Response |
Resource.get(String path,
Formattable data)
GET method.
|
PhoneInfoResponse |
PhoneInfo.info(String phoneNumber,
String countryCode) |
PhoneInfoResponse |
PhoneInfo.info(String phoneNumber,
String countryCode,
Params params) |
Resource.Response |
Resource.post(String path,
Formattable data)
POST method.
|
Resource.Response |
Resource.put(String path,
Formattable data)
PUT method.
|
Hash |
Users.requestCall(int userId)
Send token via call to a user.
|
Hash |
Users.requestCall(int userId,
Map<String,String> options)
Send token via call to a user with some options defined.
|
Hash |
Users.requestSms(int userId)
Send token via sms to a user.
|
Hash |
Users.requestSms(int userId,
Map<String,String> options)
Send token via sms to a user with some options defined.
|
UserStatus |
Users.requestStatus(int userId)
Get user status.
|
OneTouchResponse |
OneTouch.sendApprovalRequest(ApprovalRequestParams approvalRequestParams)
Sends the OneTouch's approval request to the Authy servers and returns the OneTouchResponse that comes back.
|
Verification |
PhoneVerification.start(String phoneNumber,
String countryCode,
String via,
Params params) |
Token |
Tokens.verify(int userId,
String token) |
Token |
Tokens.verify(int userId,
String token,
Map<String,String> options) |
| Constructor and Description |
|---|
OneTouchResponse(int status,
String content) |
OneTouchResponse(String json) |
Copyright © 2019. All rights reserved.