X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FAuthPlugin.php;h=b85e1d6fc1c46d76dc12d749bc9afb1c1d5b57ea;hb=f0225a55c238aae5f20ffc47861f320074a40f1d;hp=6449d371ccc7f97ffe701bd4ff70a451f357ce13;hpb=fc1ca75323b5f424a9f8d28d42d85a311ed2f721;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/AuthPlugin.php b/includes/AuthPlugin.php index 6449d371cc..b85e1d6fc1 100644 --- a/includes/AuthPlugin.php +++ b/includes/AuthPlugin.php @@ -32,6 +32,8 @@ * accounts authenticate externally, or use it only as a fallback; also * you can transparently create internal wiki accounts the first time * someone logs in who can be authenticated externally. + * + * @deprecated since 1.27 */ class AuthPlugin { /** @@ -71,7 +73,7 @@ class AuthPlugin { /** * Modify options in the login template. * - * @param UserLoginTemplate $template + * @param BaseTemplate $template * @param string $type 'signup' or 'login'. Added in 1.16. */ public function modifyUITemplate( &$template, &$type ) { @@ -322,6 +324,9 @@ class AuthPlugin { } } +/** + * @deprecated since 1.27 + */ class AuthPluginUser { function __construct( $user ) { # Override this! @@ -352,6 +357,9 @@ class AuthPluginUser { return false; } + /** + * @deprecated since 1.28, use SessionManager::invalidateSessionForUser() instead. + */ public function resetAuthToken() { # Override this! return true;