Name

global.PwdAjaxEmailPublicProcessor

Description

Handles Ajax Email Code generation requests

Script

var PwdAjaxEmailPublicProcessor = Class.create();
PwdAjaxEmailPublicProcessor.prototype = Object.extendsObject(PwdAjaxEmailProcessor, {
  
  /**
   * This function makes this AJAX public. By default, all AJAX server side is private.
   */
  isPublic: function() {
  	return true;
  },
  
  // generates email code for verification.
  // Either subscription based Email notification
  // or profile email based notification is used
  // depending on the mode of the operation.
  generateEmailCode: function() {
  	// check the security before anything else.
  	// If any violation is found, then just return.
  	if(!this._validateSecurity())
  		return;
  	
  	this.generateCode();
  },
  type:PwdAjaxEmailPublicProcessor
});

Sys ID

174a9e360b400300572a6f3ef6673a8a

Offical Documentation

Official Docs: