Adds a new PlHook subclass for token-authenticated requests.
authorVincent Zanotti <vincent.zanotti@m4x.org>
Sat, 1 Jan 2011 23:06:07 +0000 (00:06 +0100)
committerVincent Zanotti <vincent.zanotti@m4x.org>
Sun, 2 Jan 2011 14:08:33 +0000 (15:08 +0100)
commita59a4446b3f96e25620e98d4aab14860dd2ee951
treef3cdcccd6d92395d4e8fbee9afd648211c6099a1
parent15ba1697972827b89892b9866c4f6c0859c67ce8
Adds a new PlHook subclass for token-authenticated requests.

The new hook checks for either a valid token (in which case the
authentication level is assumed to always match), or a valid session (in
which case the auth level is checked against the session). Note that
this finally allows token-based handlers to be permission checked.

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