DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:event:auth_login_check

This is an old revision of the document!


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.

See also

devel/event/auth_login_check.1322477866.txt.gz · Last modified: 2011-11-28 11:57 by andi

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki