PHP 클래스 Horde_Imsp_Auth_CramMd5, 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])
상속: extends Horde_Imsp_Auth_Base
파일 보기 프로젝트 열기: horde/horde

공개 메소드들

메소드 설명
getDriverType ( ) : string Return the driver type
logout ( ) Force a logout command to the imsp stream.

보호된 메소드들

메소드 설명
_authenticate ( ) : boolean Private authentication function. Provides actual authentication code.
_hmac ( string $key, string $data ) : string RFC 2104 HMAC implementation.

메소드 상세

_authenticate() 보호된 메소드

Private authentication function. Provides actual authentication code.
protected _authenticate ( ) : boolean
리턴 boolean

_hmac() 보호된 메소드

RFC 2104 HMAC implementation.
protected _hmac ( string $key, string $data ) : string
$key string The HMAC key.
$data string The data to hash with the key.
리턴 string The MD5 HMAC.

getDriverType() 공개 메소드

Return the driver type
public getDriverType ( ) : string
리턴 string the type of this IMSP_Auth driver

logout() 공개 메소드

Force a logout command to the imsp stream.
public logout ( )