Connection.passwordAuthenticateCallback()

DESCRIPTION

Password authenticate a connection, run callback once connection is established. See the passwordAuthenticate() function for error codes that the callback may give.

DECLARATION

    void passwordAuthenticateCallback(String username, String password, NabtoCallback callback)

PARAMETERS

username:
The username.
password:
The password.
callback:
The callback that will be run once the operation is done.