]> git.mxchange.org Git - core.git/blobdiff - inc/classes/interfaces/login/class_LoginableUser.php
Moved setter/getter from 'hub' code as also 'city' uses it.
[core.git] / inc / classes / interfaces / login / class_LoginableUser.php
index 9bb89ca6bd4cca4a0939d7d80543c96caedb60d3..d1c26b3232017175ebb1e811c2dcca34be3f42e0 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * An interface for user login classes
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -32,7 +32,16 @@ interface LoginableUser extends FrameworkInterface {
         * @return      void
         */
        function doLogin (Requestable $requestInstance, Responseable $responseInstance);
+
+       /**
+        * Check if the implementation is correct. Only the request instance is
+        * needed as no redirect is done here.
+        *
+        * @param       $requestInstance        An instance of a Requestable class
+        * @return
+        */
+       function testLogin (Requestable $requestInstance);
 }
 
-//
+// [EOF]
 ?>