< Extension:WSOAuth < Hooks
WSOAuthBeforeLogout | |
---|---|
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
- User &$user: The User object.
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.