Socialid.events.onLoginCancel
From Social ID Developers
Revision as of 20:15, 3 November 2014 by Dirceu.tiegs (Talk | contribs)
Contents |
Description
Triggered when the user cancels the login process to a new login provider (doesn't authorize social login).
Adding Handler
socialid.events.onLoginCancel.addHandler(handler)
Event Data
event | onLoginCancel | provider | Provider used in the login process. Can be "facebook", "twitter", "linkedin", or "gplus". |
---|
Example
Adding a handler for the onLoginCancel event on Social Login:
socialid.events.onLoginCancel.addHandler(function(data) { console.log("Website received onLoginCancel: ", data); });
Example response object:
{ event: "onLoginCancel", provider: "twitter" }