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])
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_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