PHP Class Horde_Kolab_FreeBusy_User_Kolab, horde

Copyright 2010-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Inheritance: extends Horde_Kolab_FreeBusy_UserDb_User_Kolab, implements Horde_Kolab_FreeBusy_User
Datei anzeigen Open project: horde/horde

Public Methods

Method Description
__construct ( string $user, Horde_Kolab_Server_Composite $db, string $pass = null ) Constructor.
getPassword ( ) : string Return the password of the user accessing the system.
getPrimaryId ( ) : string Return the primary id of the user accessing the system.
isAuthenticated ( ) : boolean Finds out if a set of login credentials are valid.

Protected Methods

Method Description
fetchUserDbUser ( ) : null Fetch the user data from the user db.

Method Details

__construct() public method

Constructor.
public __construct ( string $user, Horde_Kolab_Server_Composite $db, string $pass = null )
$user string The user name.
$db Horde_Kolab_Server_Composite The connection to the user database.
$pass string The user password.

fetchUserDbUser() protected method

Fetch the user data from the user db.
protected fetchUserDbUser ( ) : null
return null

getPassword() public method

Return the password of the user accessing the system.
public getPassword ( ) : string
return string The password.

getPrimaryId() public method

Return the primary id of the user accessing the system.
public getPrimaryId ( ) : string
return string The primary id.

isAuthenticated() public method

Finds out if a set of login credentials are valid.
public isAuthenticated ( ) : boolean
return boolean Whether or not the password was correct.