Socialid.events.onConnectCancel
(Difference between revisions)
Dirceu.tiegs (Talk | contribs) |
Dirceu.tiegs (Talk | contribs) |
||
Line 25: | Line 25: | ||
}); | }); | ||
− | Example | + | Example response object: |
{ | { |
Revision as of 20:01, 3 November 2014
Contents |
Description
Executado quando o usuário cancela o processo de conexão de um novo provedor de login (não autoriza o login social).
Adding Handler
socialid.events.onConnectCancel.addHandler(handler)
Event Data
event | onConnectCancel | provider | Provider used in the connection. Can be "facebook", "twitter", "linkedin", or "gplus". |
---|
Example
Adding a handler for the onConnectCancel event of the Social Connect widget:
socialid.events.onConnectCancel.addHandler(function(data) { console.log("Website received onConnectCancel: ", data); });
Example response object:
{ event: "onConnectCancel", provider: "twitter" }