logoutOauth

Apperyio.User.logoutOauth(provider, [dbId])

Removes social id from Appery.io database. Returns promise.

Parameters

This function has the following parameters:

Argument

Description

provider

Provider ID.

dbId

Database ID. Optional if default database id is set.

Example

Removing social id from Appery.io database.

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