phpDocumentor Auth_SASL
[ class tree: Auth_SASL ] [ index: Auth_SASL ] [ all elements ]

Class: Auth_SASL_CramMD5

Source Location: /modules/Apps/MailClient/PEAR/Auth/SASL/CramMD5.php

Class Auth_SASL_CramMD5

Class Overview

Common functionality to SASL mechanisms

Located in /modules/Apps/MailClient/PEAR/Auth/SASL/CramMD5.php [line 48]

Auth_SASL_Common
   |
   --Auth_SASL_CramMD5
Author(s): Information Tags:
Version:  1.0

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Auth_SASL_Common

Auth_SASL_Common::_HMAC_MD5()
Function which implements HMAC MD5 digest

[ Top ]
Method Summary
string   getResponse()   Implements the CRAM-MD5 SASL mechanism This DOES NOT base64 encode the return value, you will need to do that yourself.

[ Top ]
Methods
getResponse  [line 63]

  string getResponse( string $user, string $pass, string $challenge  )

Implements the CRAM-MD5 SASL mechanism This DOES NOT base64 encode the return value, you will need to do that yourself.

Parameters:
string   $user:  Username
string   $pass:  Password
string   $challenge:  The challenge supplied by the server. this should be already base64_decoded.

API Tags:
Return:  The string to pass back to the server, of the form "<user> <digest>". This is NOT base64_encoded.


[ Top ]

Documentation generated on Fri, 26 Dec 2008 21:40:28 -0500 by phpDocumentor 1.4.2