login With Credentials
Deprecated
Use the `login` method that provides access to the clientInfo JSON string in the completion callback instead.
Replace with
login(token, provider, completionCallback)Log in to Ditto with a username and password.
Parameters
the username component of the credentials used for log in.
the password component of the credentials used for log in.
the name of the authentication provider.
a lambda that will get called when the login attempt has completed.
Deprecated
Use the `login` method that provides access to the clientInfo JSON string in the completion callback instead.
Replace with
login(token, provider, completionCallback)Log in to Ditto with a username and password.
Parameters
the username component of the credentials used for log in.
the password component of the credentials used for log in.
the name of the authentication provider.
an object that implements the DittoLoginCompletionCallback interface, whose callback method will be called when the login attempt has completed.