Learn how to connect to the chat server and set connection settings.
<failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized/><text xml:lang='en'>Password not verified</text></failure>
.connect()
method accepts one argument of the object type that has the following fields:
Field | Required | Description |
---|---|---|
userId | yes | ID of the user. |
password | yes | Specifies an active QuickBlox user session token set as a password. |