MediaWiki REL1_39
MediaWiki\Auth\Hook\UserLoggedInHook Interface Reference

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

Inheritance diagram for MediaWiki\Auth\Hook\UserLoggedInHook:

Public Member Functions

 onUserLoggedIn ( $user)
 This hook is called after a user is logged in.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 14 of file UserLoggedInHook.php.

Member Function Documentation

◆ onUserLoggedIn()

MediaWiki\Auth\Hook\UserLoggedInHook::onUserLoggedIn ( $user)

This hook is called after a user is logged in.

Since
1.35
Parameters
User$userUser object for the logged-in user
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: