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

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

Methods

loggedIn()

class func loggedIn() -> Bool

Whether or not the login completed successfully

getData()

class func getData() -> Any

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()

class func getErrorEvent() -> Any

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