154 lines
4.7 KiB
PHP
154 lines
4.7 KiB
PHP
<?php
|
|
|
|
/*
|
|
+---------------------------------------------------------------------------
|
|
| Invision Power Board
|
|
| ========================================
|
|
| by Matthew Mecham
|
|
| (c) 2006 Invision Power Services
|
|
| http://www.invisionpower.com
|
|
| ========================================
|
|
+---------------------------------------------------------------------------
|
|
| INVISION POWER BOARD IS NOT FREE SOFTWARE!
|
|
| http://www.invisionboard.com
|
|
+---------------------------------------------------------------------------
|
|
| > $Id$
|
|
| > $Revision: 102 $
|
|
| > $Date: 2005-12-22 10:14:15 +0000 (Thu, 22 Dec 2005) $
|
|
+---------------------------------------------------------------------------
|
|
|
|
|
| > CONVERGE SOAP: ALLOWED METHODS (YES)
|
|
| > Script written by Matt Mecham
|
|
| > Date started: Friday 6th January 2006 (11:28)
|
|
|
|
|
+---------------------------------------------------------------------------
|
|
*/
|
|
|
|
$_CONVERGE_ALLOWED_METHODS = array();
|
|
|
|
/**
|
|
* CONVERGE LOG OUT
|
|
* Passes info to complete local log out
|
|
*/
|
|
$_CONVERGE_ALLOWED_METHODS['converge_log_out'] = array(
|
|
'in' => array(
|
|
'auth_key' => 'string',
|
|
'product_id' => 'integer',
|
|
'email_address' => 'string',
|
|
),
|
|
'out' => array(
|
|
'response' => 'xmlrpc'
|
|
)
|
|
);
|
|
|
|
/**
|
|
* Disable converge from the system
|
|
*/
|
|
$_CONVERGE_ALLOWED_METHODS['converge_disable'] = array(
|
|
'in' => array(
|
|
'auth_key' => 'string',
|
|
'product_id' => 'integer',
|
|
),
|
|
'out' => array(
|
|
'response' => 'xmlrpc'
|
|
)
|
|
);
|
|
|
|
/**
|
|
* ON Member Delete
|
|
* Delete the member
|
|
*/
|
|
$_CONVERGE_ALLOWED_METHODS['on_member_delete'] = array(
|
|
'in' => array(
|
|
'auth_key' => 'string',
|
|
'product_id' => 'integer',
|
|
'multiple_email_addresses' => 'string',
|
|
),
|
|
'out' => array(
|
|
'response' => 'xmlrpc'
|
|
)
|
|
);
|
|
|
|
/**
|
|
* ON Password change
|
|
* Give the local app a chance to perform a new member log in key request
|
|
*/
|
|
$_CONVERGE_ALLOWED_METHODS['on_password_change'] = array(
|
|
'in' => array(
|
|
'auth_key' => 'string',
|
|
'product_id' => 'integer',
|
|
'email_address' => 'string',
|
|
'md5_once_password' => 'string',
|
|
),
|
|
'out' => array(
|
|
'response' => 'xmlrpc'
|
|
)
|
|
);
|
|
|
|
/**
|
|
* ON EMAIL CHANGE
|
|
* Update the local app with the new email address
|
|
*/
|
|
$_CONVERGE_ALLOWED_METHODS['on_email_change'] = array(
|
|
'in' => array(
|
|
'auth_key' => 'string',
|
|
'product_id' => 'integer',
|
|
'old_email_address' => 'string',
|
|
'new_email_address' => 'string',
|
|
),
|
|
'out' => array(
|
|
'response' => 'xmlrpc'
|
|
)
|
|
);
|
|
|
|
/**
|
|
* CONVERGE LOG IN
|
|
* Passes info to complete local log in
|
|
*/
|
|
$_CONVERGE_ALLOWED_METHODS['converge_log_in'] = array(
|
|
'in' => array(
|
|
'auth_key' => 'string',
|
|
'product_id' => 'integer',
|
|
'email_address' => 'string',
|
|
'md5_once_password' => 'string',
|
|
'ip_address' => 'string',
|
|
'unix_join_date' => 'integer',
|
|
'timezone' => 'integer',
|
|
'dst_autocorrect' => 'integer',
|
|
),
|
|
'out' => array(
|
|
'response' => 'xmlrpc'
|
|
)
|
|
);
|
|
|
|
/**
|
|
* Get a batch of members to import
|
|
*
|
|
*/
|
|
$_CONVERGE_ALLOWED_METHODS['import_members'] = array(
|
|
'in' => array(
|
|
'auth_key' => 'string',
|
|
'product_id' => 'integer',
|
|
'limit_a' => 'integer',
|
|
'limit_b' => 'integer',
|
|
),
|
|
'out' => array(
|
|
'response' => 'xmlrpc'
|
|
)
|
|
);
|
|
|
|
/**
|
|
* Get number of members and last ID
|
|
*
|
|
*/
|
|
$_CONVERGE_ALLOWED_METHODS['get_members_info'] = array(
|
|
'in' => array(
|
|
'auth_key' => 'string',
|
|
'product_id' => 'integer',
|
|
),
|
|
'out' => array(
|
|
'response' => 'xmlrpc'
|
|
)
|
|
);
|
|
|
|
?>
|