Gigya Job Openings

Page History

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Gigya service generates several global application events for various situations that are driven by user interactions.
Global application events are fired whenever the event to which they refer occurs, regardless of what was the action that triggered the event.
This is in contrast to plugin events, which are only fired by the specific plugin on which they were configured.
This method allows setting event handlers for each of the supported global events.
To learn more about how to handle events generated by Gigya, please refer to the Events page in the Developer's Guidesee Events.

 

The following is a list of available global application events:

...

FieldTypeDescription
eventNamestringThe name of the event: 'login'.
sourcestringThe source plugin that generated this event. The value of this field is the name of the plugin's API method, e.g. 'showLoginUI'.
Note: this field will not be available if the source of this event is not a plugin (e.g. if the source is a socialize.login API call).
contextobjectThe context object passed as a parameter to the plugin/method that triggered this event, or null if no object was passed.
loginModestringThe type of login:
  • standard  - the user is logging into an existing account.
  • reAuth  -  the user is proving ownership of an account by logging into it.
providerstringThe name of the provider that the user used in order to login (e.g. "Facebook"). Note: If this event is fired as a result of a socialize.notifyLogin call, i.e. the user was authenticated by your site, the provider field will be set to "site".
signatureTimestamp stringThe GMT time of the response in UNIX time format (i.e. the number of seconds since Jan. 1st 1970). The time stamp should be used for login verification, as described under the Validate the UID Signature in the Social Sign-On Process section.
UIDstringThe User ID that should be used for login verification*.
Include Page
Template_gs api UID Note
Template_gs api UID Note
UIDSignature stringThe signature that should be used for login verification, as described under the Validate the UID Signature in the Social Sign-On Process section.
userUser objectUser object with updated information for the current user.
signature string Deprecated . Please use the UIDSignature parameter instead.
timestamp string Deprecated . Please use the signatureTimestampparameter instead.
This parameter holds the GMT time of the response in "yyyy-mm-dd HH:mm:ss" format where HH is in 24 hour time format.
Panel
borderColor#81C0FC
bgColor#F4F7FC
borderWidth1
borderStylesolid

* To learn more about login verification, please refer to the Validate the UID Signature in the Social Login Process section in the Security page of the Developer's Guide.

...