[eluser]Madoc[/eluser]
Hello,
I am currently working with Phil Sturgeon's REST server library and I got as far as handling requests and responses using the very useful "key" system for security.
Now I need to be able to handle some of the requests as public and some with the key protection. I can not find my way around doing that.
The key configuration settings are given on the rest.php config file of the library:
Code:
$config['rest_enable_keys'] = TRUE;
But I can not get my head around bypassing this for certain requests (i.e controller/method).
I tried to use the means available on the auth types:
Code:
$config['auth_override_class_method']['server']['persons'] = 'none';
but this did not work as I am guessing that the key system has nothing to do with http authentication.
Anyone have any idea ?