Socialid.events.onDisconnectSuccess
From Social ID Developers
(Difference between revisions)
Dirceu.tiegs (Talk | contribs) |
Dirceu.tiegs (Talk | contribs) |
||
(2 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
== Description == | == Description == | ||
− | + | Triggered when an user disconnects one of his credentials successfully. | |
== Adding Handler == | == Adding Handler == | ||
Line 14: | Line 14: | ||
|+ | |+ | ||
! align="left" width="200px" | provider | ! align="left" width="200px" | provider | ||
− | | The provider disconnected by the | + | | The provider disconnected by the user. Can be "facebook", "twitter", "linkedin", or "gplus". |
|} | |} | ||
Latest revision as of 20:15, 3 November 2014
Contents |
Description
Triggered when an user disconnects one of his credentials successfully.
Adding Handler
socialid.events.onDisconnectSuccess.addHandler(handler)
Event Data
event | onDisconnectSuccess | provider | The provider disconnected by the user. Can be "facebook", "twitter", "linkedin", or "gplus". |
---|
Example
Adding a handler for the onDisconnectSuccess event of the Social Connect widget:
socialid.events.onDisconnectSuccess.addHandler(function(data) { console.log("Website received onDisconnectSuccess: ", data); });
Exemple response object:
{ event: "onDisconnectSuccess", provider: "facebook" }