public class Auth extends AbstractAction
| Constructor and Description |
|---|
Auth(VkApiClient client)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
AuthRestoreQuery |
restore()
Allows to restore account access using a code received via SMS. " This method is only available for apps with [vk.com/dev/auth_direct|Direct authorization] access
|
AuthRestoreQuery |
restore(ServiceActor actor)
Allows to restore account access using a code received via SMS. " This method is only available for apps with [vk.com/dev/auth_direct|Direct authorization] access
|
AuthRestoreQuery |
restore(ServiceActor actor,
java.lang.String phone,
java.lang.String lastName)
Allows to restore account access using a code received via SMS. " This method is only available for apps with [vk.com/dev/auth_direct|Direct authorization] access
|
AuthRestoreQuery |
restore(java.lang.String phone,
java.lang.String lastName)
Allows to restore account access using a code received via SMS. " This method is only available for apps with [vk.com/dev/auth_direct|Direct authorization] access
|
AuthRestoreQuery |
restore(UserActor actor)
Allows to restore account access using a code received via SMS. " This method is only available for apps with [vk.com/dev/auth_direct|Direct authorization] access
|
AuthRestoreQuery |
restore(UserActor actor,
java.lang.String phone,
java.lang.String lastName)
Allows to restore account access using a code received via SMS. " This method is only available for apps with [vk.com/dev/auth_direct|Direct authorization] access
|
getClientpublic Auth(VkApiClient client)
client - vk api clientpublic AuthRestoreQuery restore(UserActor actor, java.lang.String phone, java.lang.String lastName)
actor - vk user actorphone - User phone number.lastName - User last name.public AuthRestoreQuery restore(UserActor actor)
actor - vk user actorpublic AuthRestoreQuery restore(java.lang.String phone, java.lang.String lastName)
phone - User phone number.lastName - User last name.public AuthRestoreQuery restore()
public AuthRestoreQuery restore(ServiceActor actor, java.lang.String phone, java.lang.String lastName)
actor - vk service actorphone - User phone number.lastName - User last name.public AuthRestoreQuery restore(ServiceActor actor)
actor - vk service actor