Adds a new PlApiHook for API handlers. The main two differences with
authorVincent Zanotti <vincent.zanotti@m4x.org>
Mon, 3 Jan 2011 18:57:53 +0000 (19:57 +0100)
committerVincent Zanotti <vincent.zanotti@m4x.org>
Tue, 4 Jan 2011 01:23:38 +0000 (02:23 +0100)
commit504647c51aac2a34a4c3f11f33cc4fa6eecdb64f
tree96c8de479bc26e7803ae75cef9710a283fefbabe
parent1547b0f6051a721ef80013d99f997dac1f819f84
Adds a new PlApiHook for API handlers. The main two differences with
PlTokenHook is that (a) it provides stronger authentication, and (b) it
parses the JSON request payload before passing it to the handler.

Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
classes/platal.php
classes/plmodule.php
classes/plsession.php