Perform Password Invite pairing, authenticating with the specified username and password. Runs asynchronously with a callback.
In the Password invite pairing mode a user is required in the system to be able to pair: An existing user (or the system autonomously) creates a username and password that is somehow passed to the new user (an invitation).
Error information is sent to the callback.
Read more here: https://docs.nabto.com/developer/guides/iam/pairing.html#invite
public abstract void pairPasswordInviteCallback(Connection connection, String username, String password, IamCallback callback)
- An established connection to the device this client should be paired with
- Username for the invited user
- Password for the invited user
- The callback that will be run once the function has completed successfully or erroneously.