devel:event:auth_login_check
This is an old revision of the document!
Table of Contents
AUTH_LOGIN_CHECK
- Description:
- intercept requests before authentication
- DefaultAction:
- DokuWiki's own login
- Preventable:
- yes
- Added:
- 2009-03-13
This Event allows to provide authentication on a per request basis by using signatures or tokens instead of the default DokuWiki login or cookies.
Since 2010-01-29, there is an AFTER
event available.
The global $AUTH_ACL
is not set up when this event is triggered.
Passed Data
$data
is an associative array containing user
, password
, sticky
and silent
login parameters.
If the Event handler does not $event→preventDefault()
those parameters are passed to auth_login().
Plugins handling this event
The following plugins are known to handle this event and their source code may be a good start for understanding and implementing a handler yourself.
- Oauth simple (simple: hardcoded tokens) for the OAuth API
- Oauth - work in progress
See also
devel/event/auth_login_check.1322477866.txt.gz · Last modified: 2011-11-28 11:57 by andi