PHP Class 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.
Author: Michael Rubinsky ([email protected])
Inheritance: extends Horde_Imsp_Auth_Base
Mostrar archivo Open project: horde/horde

Public Methods

Method Description
getDriverType ( ) : string Return the driver type
logout ( ) Force a logout command to the imsp stream.

Protected Methods

Method Description
_authenticate ( ) : boolean Private authentication function. Provides actual authentication code.
_hmac ( string $key, string $data ) : string RFC 2104 HMAC implementation.

Method Details

_authenticate() protected method

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

_hmac() protected method

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.
return string The MD5 HMAC.

getDriverType() public method

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

logout() public method

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