| 1 |
<?php |
<?php |
| 2 |
// $Id: services_keyauth.inc,v 1.1.2.8.2.6 2009/11/02 19:42:33 heyrocker Exp $ |
// $Id: services_keyauth.inc,v 1.1.2.8.2.7 2009/11/04 21:37:01 heyrocker Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 51 |
|
|
| 52 |
// sessid arg |
// sessid arg |
| 53 |
$arg_sessid = array( |
$arg_sessid = array( |
| 54 |
'#name' => 'sessid', |
'name' => 'sessid', |
| 55 |
'#type' => 'string', |
'type' => 'string', |
| 56 |
'#description' => t('A valid sessid.'), |
'description' => t('A valid sessid.'), |
| 57 |
); |
); |
| 58 |
|
|
| 59 |
$arg_domain_time_stamp = array( |
$arg_domain_time_stamp = array( |
| 60 |
'#name' => 'domain_time_stamp', |
'name' => 'domain_time_stamp', |
| 61 |
'#type' => 'string', |
'type' => 'string', |
| 62 |
'#description' => t('Time stamp used to hash key.'), |
'description' => t('Time stamp used to hash key.'), |
| 63 |
); |
); |
| 64 |
|
|
| 65 |
$arg_nonce = array( |
$arg_nonce = array( |
| 66 |
'#name' => 'nonce', |
'name' => 'nonce', |
| 67 |
'#type' => 'string', |
'type' => 'string', |
| 68 |
'#description' => t('One time use nonce also used hash key.'), |
'description' => t('One time use nonce also used hash key.'), |
| 69 |
); |
); |
| 70 |
|
|
| 71 |
// domain arg |
// domain arg |
| 72 |
$arg_domain_name = array( |
$arg_domain_name = array( |
| 73 |
'#name' => 'domain_name', |
'name' => 'domain_name', |
| 74 |
'#type' => 'string', |
'type' => 'string', |
| 75 |
'#description' => t('A valid domain for the API key.'), |
'description' => t('A valid domain for the API key.'), |
| 76 |
); |
); |
| 77 |
|
|
| 78 |
// api_key arg |
// api_key arg |
| 79 |
$arg_api_key = array( |
$arg_api_key = array( |
| 80 |
'#name' => 'hash', |
'name' => 'hash', |
| 81 |
'#type' => 'string', |
'type' => 'string', |
| 82 |
'#description' => t('A valid API key.'), |
'description' => t('A valid API key.'), |
| 83 |
); |
); |
| 84 |
|
|
| 85 |
foreach ($methods as $key => &$method) { |
foreach ($methods as $key => &$method) { |