Manual:Hooks/AuthPluginSetup

Details
$auth: the $wgAuth object, probably a stub

Deprecated
From MediaWiki 1.27 on, the hook is deprecated and superseded by AuthManager functionality. Instead of subclassing, authentication extensions should implement a   and use   to register it.