stub _authenticate in the auto driver to avoid a compile-time error
authorChuck Hagenbuch <chuck@horde.org>
Wed, 15 Jul 2009 14:28:55 +0000 (10:28 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Wed, 15 Jul 2009 14:28:55 +0000 (10:28 -0400)
framework/Auth/lib/Horde/Auth/Auto.php
framework/Auth/lib/Horde/Auth/Base.php

index be59760..d9120d4 100644 (file)
@@ -51,6 +51,21 @@ class Horde_Auth_Auto extends Horde_Auth_Base
     }
 
     /**
+     * Horde_Exception should pass a message string (if any) in the message
+     * field, and the REASON_* constant in the code field (defaults to
+     * REASON_MESSAGE).
+     *
+     * @param string $userID      The userID to check.
+     * @param array $credentials  An array of login credentials.
+     *
+     * @throws Horde_Exception
+     */
+    protected function _authenticate($userId, $credentials)
+    {
+        throw new Horde_Exception('unsupported');
+    }
+
+    /**
      * Automatic authentication: Set the user allowed IP block.
      *
      * @return boolean  Whether or not the client is allowed.
index 17d23cc..dd20cd6 100644 (file)
@@ -132,7 +132,6 @@ abstract class Horde_Auth_Base
      */
     abstract protected function _authenticate($userId, $credentials);
 
-
     /**
      * Adds a set of authentication credentials.
      *