isLogged

Apperyio.User.isLogged([options], [dbId])

Checks if Appery.io database token is valid. Returns promise.

Parameters

This function has the following parameters:

Argument

Description

options

Request parameters. May contain "include" and "proj" fields.

dbId

Database id. Optional if default database id is set.

Example

Checking if Appery.io database token is valid.

Apperyio.User.isLogged().then(function(result){
   alert("success_" + JSON.stringify(result));
},function(error) {
   alert("error_" + JSON.stringify(error));
});