Apperyio.User.logoutOauth(provider, [dbId])
Removes social id from Appery.io Database. Returns a Promise.
Parameters
This function has the following parameters:
Argument | Description |
---|---|
provider | Provider ID. |
dbId | Database ID. Optional if default database id is set. |
Apperyio.User.logoutOauth("twitter").then(function(result){
alert("success_" + JSON.stringify(result));
},function(error) {
alert("error_" + JSON.stringify(error));
});