getStatus

Apperyio.User.getStatus([dbId])

Returns current login status for certain database. By default, the database which is set by setDefaulDB is used. If you’re making multiple authentication for several databases, you should provide dbId parameter to determine, which database status should be returned.

Possible values:

  • unauthorized
  • inProgress
  • authorized
  • error

Parameters

This function has the following parameters:

ArgumentsDescription
dbIdDatabase ID. Optional if default database id is set.