why deepstreamHub? compare us getting started faq
use cases
products
developers
company
blog contact

The result of a login, indicating if it was successful and providing clientData

Methods

loggedIn()

boolean loggedIn()

Whether or not the login completed successfully

getData()

Object getData()

Return the data associated with login. If login was successful, this would be the user associated clientData. Otherwise data explaining the reason why it wasn't.

getErrorEvent()

Object getErrorEvent()

The error message the server sent to explain why the client couldn't log in.