Available from version 2.2
called before the groups in $wgOAuthAutoPopulateGroups are assigned to the authenticated user; skips the group population if false is returned
Define function:
public static function onWSOAuthBeforeAutoPopulateGroups( User &$user ) { ... }
Attach hook:
$wgHooks['WSOAuthBeforeAutoPopulateGroups'][] = 'MyExtensionHooks::onWSOAuthBeforeAutoPopulateGroups';
Called from:File(s): WSOAuth / src/WSOAuth.php
Function(s): onPluggableAuthPopulateGroups

For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:WSOAuthBeforeAutoPopulateGroups extensions.

Details edit

  • User &$user: The User object.