code: function authCallback(obj, window, parent) {
  
  			var cb = obj.callback;
  			var network = obj.network;
  
  			// Trigger the callback on the parent
  			_this.store(network, obj);
  
  			// If this is a page request it has no parent or opener window to handle callbacks
  			if (('display' in obj) && obj.display === 'page') {
  				return;
  			}
  
  			// Remove from session object
  			if (parent && cb && cb in parent) {
  
  				try {
  					delete obj.callback;
  				}
  				catch (e) {}
  
  				// Update store
  				_this.store(network, obj);
  
  				// Call the globalEvent function on the parent
  				// It's safer to pass back a string to the parent,
  				// Rather than an object/array (better for IE8)
  				var str = JSON.stringify(obj);
  
  				try {
  					callback(parent, cb)(str);
  				}
  				catch (e) {
  					// Error thrown whilst executing parent callback
  				}
  			}
  
  			closeWindow();
  		}
docs: Trigger a callback to authenticate