Socialid.events.onConnectCancel
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 the user cancels the connection proccess to a new login provider (doesn't authorize social login). | |
== Adding Handler == | == Adding Handler == | ||
Line 25: | Line 25: | ||
}); | }); | ||
− | Example | + | Example response object: |
{ | { |
Latest revision as of 20:15, 3 November 2014
Contents |
Description
Triggered when the user cancels the connection proccess to a new login provider (doesn't authorize social login).
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" }