X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Finterfaces%2Flogin%2Fclass_LoginableUser.php;h=d1c26b3232017175ebb1e811c2dcca34be3f42e0;hb=5203f9bd014ad46fbc7ee54e7223dcd46e14e3b4;hp=8a540e1968911f49b8193172b2b9b5206ce5cc4b;hpb=66e68715d3d5a5e7fd5a3046471914ef3f9dd4b4;p=core.git diff --git a/inc/classes/interfaces/login/class_LoginableUser.php b/inc/classes/interfaces/login/class_LoginableUser.php index 8a540e19..d1c26b32 100644 --- a/inc/classes/interfaces/login/class_LoginableUser.php +++ b/inc/classes/interfaces/login/class_LoginableUser.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.shipsimu.org * @@ -32,6 +32,15 @@ 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]