PHP Class Horde_Imsp_Auth_Base, horde

Required Parameters:
  'username'  Username to logon to IMSP server as.
  'password'  Password for current user.
  'server'    The hostname of the IMSP server.
  'port'      The port of the IMSP server.
Copyright 2003-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.
Author: Michael Rubinsky ([email protected])
Afficher le fichier Open project: horde/horde Class Usage Examples

Protected Properties

Свойство Type Description
$_imsp Horde_Imsp_Client_Base Class variable to hold the resulting Horde_Imsp object
$_params

Méthodes publiques

Méthode Description
__construct ( array $params = [] ) Constructor
authenticate ( Horde_Imsp_Client_Base $client, boolean $login = true ) : boolean Attempts to login to IMSP server.
getDriverType ( ) : string Returns the type of this driver.
logout ( ) Force a logout from the underlying IMSP stream.

Méthodes protégées

Méthode Description
_authenticate ( ) : boolean Private authentication function. Provides actual authentication code.

Method Details

__construct() public méthode

Constructor
public __construct ( array $params = [] )
$params array

_authenticate() abstract protected méthode

Private authentication function. Provides actual authentication code.
abstract protected _authenticate ( ) : boolean
Résultat boolean

authenticate() public méthode

Attempts to login to IMSP server.
public authenticate ( Horde_Imsp_Client_Base $client, boolean $login = true ) : boolean
$client Horde_Imsp_Client_Base The Imsp client connection.
$login boolean Remain logged in after auth?
Résultat boolean

getDriverType() abstract public méthode

Returns the type of this driver.
abstract public getDriverType ( ) : string
Résultat string Type of IMSP_Auth driver instance

logout() abstract public méthode

Force a logout from the underlying IMSP stream.
abstract public logout ( )

Property Details

$_imsp protected_oe property

Class variable to hold the resulting Horde_Imsp object
protected Horde_Imsp_Client_Base $_imsp
Résultat Horde_Imsp_Client_Base

$_params protected_oe property

protected $_params