Available from version 2.1
called before the logout function of the AuthProvider is called
Define function:
public static function onWSOAuthBeforeLogout( User &$user ) { ... }
Attach hook:
$wgHooks['WSOAuthBeforeLogout'][] = 'MyExtensionHooks::onWSOAuthBeforeLogout';
Called from:File(s): WSOAuth / src/WSOAuth.php
Function(s): deauthenticate

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

Details Edit

  • User &$user: The User object.