This commit is contained in:
Paminger
2016-03-11 10:08:34 +01:00
parent 24756d9cf3
commit 19129266b2
19 changed files with 1153 additions and 12 deletions
+6 -6
View File
@@ -94,7 +94,7 @@ $config['enable_emulate_request'] = TRUE;
| e.g: My Secret REST API
|
*/
$config['rest_realm'] = 'REST API';
$config['rest_realm'] = 'FHC REST API';
/*
|--------------------------------------------------------------------------
@@ -110,7 +110,7 @@ $config['rest_realm'] = 'REST API';
| authorization key
|
*/
$config['rest_auth'] = FALSE;
$config['rest_auth'] = 'session';
/*
|--------------------------------------------------------------------------
@@ -126,7 +126,7 @@ $config['rest_auth'] = FALSE;
| Note: If 'rest_auth' is set to 'session' then change 'auth_source' to the name of the session variable
|
*/
$config['auth_source'] = 'ldap';
$config['auth_source'] = 'RestAPISession';
/*
|--------------------------------------------------------------------------
@@ -144,8 +144,8 @@ $config['auth_source'] = 'ldap';
| e.g: md5('admin:REST API:1234') = '1e957ebc35631ab22d5bd6526bd14ea2'
|
*/
$config['auth_library_class'] = '';
$config['auth_library_function'] = '';
$config['auth_library_class'] = 'FHCAuth';
$config['auth_library_function'] = 'auth';
/*
|--------------------------------------------------------------------------
@@ -353,7 +353,7 @@ $config['rest_key_length'] = 40;
| 2012/06/12. See RFC 6648 specification for more details
|
*/
$config['rest_key_name'] = 'WSP-API-KEY';
$config['rest_key_name'] = 'FHC-API-KEY';
/*
|--------------------------------------------------------------------------