MediaWiki REL1_40
MediaWiki\User\Hook\UserLoadAfterLoadFromSessionHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onUserLoadAfterLoadFromSession ( $user)
 This hook is called to authenticate users on external or environmental means.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "UserLoadAfterLoadFromSession" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 14 of file UserLoadAfterLoadFromSessionHook.php.

Member Function Documentation

◆ onUserLoadAfterLoadFromSession()

MediaWiki\User\Hook\UserLoadAfterLoadFromSessionHook::onUserLoadAfterLoadFromSession ( $user)

This hook is called to authenticate users on external or environmental means.

This hook is called after session is loaded.

Since
1.35
Parameters
User$userUser object being loaded
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: