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

Class: Auth_SASL_DigestMD5

Source Location: /Auth_SASL-1.0.6/Auth/SASL/DigestMD5.php

Class Overview

Auth_SASL_Common
   |
   --Auth_SASL_DigestMD5

Common functionality to SASL mechanisms


Author(s):

Version:

  • 1.0

Methods


Inherited Variables

Inherited Methods

Class: Auth_SASL_Common

Auth_SASL_Common::_HMAC_SHA1()
Function which implements HMAC-SHA-1 digest

Class Details

[line 48]
Common functionality to SASL mechanisms


[ Top ]


Method Detail

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.
  • Return: The digest response (NOT base64 encoded)
  • Access: public

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)

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:44:57 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.