logoutOauth

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

Removes social id from Appery.io Database. Returns a Promise.

Parameters

This function has the following parameters:

ArgumentDescription
providerProvider ID.
dbIdDatabase 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)); 
});