Socialid.events.onConnectStart

From Social ID Developers
(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
 
== Description ==
 
== Description ==
  
Executed when an user starts the connection process for a new login provider.
+
Triggered when an user starts the connection process for a new login provider.
  
 
== Adding Handler ==
 
== Adding Handler ==

Latest revision as of 20:15, 3 November 2014

Contents

Description

Triggered when an user starts the connection process for a new login provider.

Adding Handler

socialid.events.onConnectStart.addHandler(handler)

Event Data

event onConnectStart
provider Provider used in the connection. Can be "facebook", "twitter", "linkedin", or "gplus".

Example

Adding a handler for the onConnectStart event of the Social Connect widget:

 socialid.events.onConnectStart.addHandler(function(data) {
   console.log("Website received onConnectStart: ", data);
 });

Example response object:

 {
   event: "onConnectStart",
   provider: "twitter"
 }
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox