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

Class: Auth_SASL_DigestMD5

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

Class Auth_SASL_DigestMD5

Class Overview

Common functionality to SASL mechanisms

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

Auth_SASL_Common
   |
   --Auth_SASL_DigestMD5
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()   Provides the (main) client response for DIGEST-MD5 requires a few extra parameters than the other mechanisms, which are unavoidable.

[ Top ]
Methods
getResponse  [line 64]

  string getResponse( string $authcid, string $pass, string $challenge, string $hostname, string $service, [string $authzid = '']  )

Provides the (main) client response for DIGEST-MD5 requires a few extra parameters than the other mechanisms, which are unavoidable.

Parameters:
string   $authcid:  Authentication id (username)
string   $pass:  Password
string   $challenge:  The digest challenge sent by the server
string   $hostname:  The hostname of the machine you're connecting to
string   $service:  The servicename (eg. imap, pop, acap etc)
string   $authzid:  Authorization id (username to proxy as)

API Tags:
Return:  The digest response (NOT base64 encoded)
Access:  public


[ Top ]

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