PHP Класс 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.
Автор: Michael Rubinsky ([email protected])
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_imsp Horde_Imsp_Client_Base Class variable to hold the resulting Horde_Imsp object
$_params

Открытые методы

Метод Описание
__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.

Защищенные методы

Метод Описание
_authenticate ( ) : boolean Private authentication function. Provides actual authentication code.

Описание методов

__construct() публичный Метод

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

_authenticate() абстрактный защищенный Метод

Private authentication function. Provides actual authentication code.
abstract protected _authenticate ( ) : boolean
Результат boolean

authenticate() публичный Метод

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?
Результат boolean

getDriverType() абстрактный публичный Метод

Returns the type of this driver.
abstract public getDriverType ( ) : string
Результат string Type of IMSP_Auth driver instance

logout() абстрактный публичный Метод

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

Описание свойств

$_imsp защищенное свойство

Class variable to hold the resulting Horde_Imsp object
protected Horde_Imsp_Client_Base $_imsp
Результат Horde_Imsp_Client_Base

$_params защищенное свойство

protected $_params