MediaWiki master
GetSessionJwtDataHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
7
16
41 public function onGetSessionJwtData( ?UserIdentity $user, array &$jwtData ): void;
42
43}
This serves as the entry point to the MediaWiki session handling system.
This is a hook handler interface, see docs/Hooks.md.
onGetSessionJwtData(?UserIdentity $user, array &$jwtData)
Called when a JWT session token is created, can modify the information stored within.
Interface for objects representing user identity.