Gigya Job Openings

Page History

Versions Compared

Key

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

...

RequiredNameTypeDescription
No
onLoginfunctionA reference to a function that is called when the user is successfully authenticated by Gigya.
No
onLogoutfunctionA reference to a function that is called when the user has logged out.
No
callbackfunction
Include Page
Template_gs api callback description
Template_gs api callback description
No
cidstring
Include Page
Template_gs api cid description
Template_gs api cid description

Include Page
Template_gs override params short note
Template_gs override params short note
No
contextobject
Include Page
Template_gs api context description
Template_gs api context description

 

Sample Request

HTML
<script>
var addEventHandlersCodeExampleParams = {
	"api":"accounts.addEventHandlers",
	"langs":"js",
	"containerId":"addEventHandlersCodeExampleContainer",
	"params": {
		"onLogin":function() {
			gigya.accounts.getAccountInfo({
				"callback":function(e) {
					console.log(e);
				}
			});
		},
		"onLogout":function (e) { alert(e); } 
	}
}
</script>
<div id="addEventHandlersCodeExampleContainer"></div>

...