Class Auth

    • Constructor Summary

      Constructors 
      Constructor Description
      Auth​(VkApiClient client)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      AuthRestoreQuery restore​(ServiceActor actor, java.lang.String phone, java.lang.String lastName)
      Allows to restore account access using a code received via SMS.
      AuthRestoreQuery restore​(UserActor actor, java.lang.String phone, java.lang.String lastName)
      Allows to restore account access using a code received via SMS.
      AuthRestoreQuery restore​(java.lang.String phone, java.lang.String lastName)
      Allows to restore account access using a code received via SMS.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Auth

        public Auth​(VkApiClient client)
        Constructor
        Parameters:
        client - vk api client
    • Method Detail

      • restore

        public 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. "
        Parameters:
        actor - vk actor
        phone - User phone number.
        lastName - User last name.
        Returns:
        query
      • restore

        public 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. "
        Parameters:
        phone - User phone number.
        lastName - User last name.
        Returns:
        query
      • restore

        public 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. "
        Parameters:
        actor - vk actor
        phone - User phone number.
        lastName - User last name.
        Returns:
        query