| 1 |
<?php |
<?php |
| 2 |
// $Id: services_keyauth.inc,v 1.1.2.8.2.4 2009/10/15 02:59:56 marcingy Exp $ |
// $Id: services_keyauth.inc,v 1.1.2.8.2.5 2009/10/31 20:58:11 heyrocker Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 11 |
'#type' => 'checkbox', |
'#type' => 'checkbox', |
| 12 |
'#title' => t('Use keys'), |
'#title' => t('Use keys'), |
| 13 |
'#default_value' => variable_get('services_use_key', TRUE), |
'#default_value' => variable_get('services_use_key', TRUE), |
| 14 |
'#description' => t('When enabled all method calls need to provide a validation token to autheciate themselves with the server.'), |
'#description' => t('When enabled all method calls need to provide a validation token to authenticate themselves with the server.'), |
| 15 |
); |
); |
| 16 |
$form['services_key_expiry'] = array( |
$form['services_key_expiry'] = array( |
| 17 |
'#type' => 'textfield', |
'#type' => 'textfield', |
| 25 |
'#type' => 'checkbox', |
'#type' => 'checkbox', |
| 26 |
'#title' => t('Use sessid'), |
'#title' => t('Use sessid'), |
| 27 |
'#default_value' => variable_get('services_use_sessid', TRUE), |
'#default_value' => variable_get('services_use_sessid', TRUE), |
| 28 |
'#description' => t('When enabled, all method calls must include a valid sessid. Only disable this setting if the application will user browser-based cookies.') |
'#description' => t('When enabled, all method calls must include a valid sessid. Only disable this setting if the application will use browser-based cookies.') |
| 29 |
); |
); |
| 30 |
return $form; |
return $form; |
| 31 |
} |
} |