Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F210275
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
View Options
diff --git a/includes/auth/IAuthentication.php b/includes/auth/IAuthentication.php
index ce7fde8..9456389 100644
--- a/includes/auth/IAuthentication.php
+++ b/includes/auth/IAuthentication.php
@@ -1,55 +1,55 @@
<?php
/**
* Authentication method interface.
*
* Zed. The immensity of stars. The HyperShip. The people.
*
* (c) 2013, Dereckson, some rights reserved.
* Released under BSD license.
*
* @package Zed
* @subpackage Auth
* @author Sébastien Santoro aka Dereckson <dereckson@espace-win.org>
* @copyright 2013 Sébastien Santoro aka Dereckson
* @license http://www.opensource.org/licenses/bsd-license.php BSD
* @link http://scherzo.dereckson.be/doc/zed
* @link http://zed.dereckson.be/
* @filesource
*/
/**
* Authentication method interface.
*/
interface IAuthentication {
/**
* Determines if an user has been authenticated.
*
* @return boolean true if the user has successfully been authenticated; otherwise, false.
*/
public function isValid ();
/**
* Gets the last authentication error
*
* @return string The last authentication error
*/
- public function getError();
+ public function getError ();
/**
* Gets the user_id matching the authentication method
*
* @return int the authenticated user ID
*/
public function getUserID ();
/**
* Determines if the next authentication method could be tried if this one failed.
*
* This allow when a method has failed in such a way the user must be warned to warn it,
* returning false.
*
* @return bool true if authentication can go on to the next method; otherwise, false
*/
- public function canTryNextAuthenticationMethod();
+ public function canTryNextAuthenticationMethod ();
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Mon, Nov 11, 11:08 (2 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
20807
Default Alt Text
(1 KB)
Attached To
rZED Zed
Event Timeline
Log In to Comment