Overview

Packages

  • Imap
    • Client

Classes

  • Horde_Imap_Client
  • Horde_Imap_Client_Auth_DigestMD5
  • Horde_Imap_Client_Base
  • Horde_Imap_Client_Cache
  • Horde_Imap_Client_Data_Acl
  • Horde_Imap_Client_Data_AclCommon
  • Horde_Imap_Client_Data_AclNegative
  • Horde_Imap_Client_Data_AclRights
  • Horde_Imap_Client_Data_Envelope
  • Horde_Imap_Client_Data_Fetch
  • Horde_Imap_Client_Data_Fetch_Pop3
  • Horde_Imap_Client_Data_Thread
  • Horde_Imap_Client_DateTime
  • Horde_Imap_Client_Exception
  • Horde_Imap_Client_Exception_NoSupportExtension
  • Horde_Imap_Client_Fetch_Query
  • Horde_Imap_Client_Ids
  • Horde_Imap_Client_Ids_Pop3
  • Horde_Imap_Client_Mailbox
  • Horde_Imap_Client_Search_Query
  • Horde_Imap_Client_Socket
  • Horde_Imap_Client_Socket_Pop3
  • Horde_Imap_Client_Sort
  • Horde_Imap_Client_Translation
  • Horde_Imap_Client_Utf7imap
  • Horde_Imap_Client_Utils
  • Horde_Imap_Client_Utils_Pop3
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Imap_Client_Auth_DigestMD5

Provides the code needed to authenticate via the DIGEST-MD5 SASL mechanism (defined in RFC 2831). This method has been obsoleted by RFC 6331, but still is in use on legacy servers.

Copyright (c) 2002-2003 Richard Heyes Copyright 2011-2012 Horde LLC (http://www.horde.org/)

Package: Imap\Client
Category: Horde
License: LGPL 2.1
Author: Richard Heyes richard@php.net
Author: Michael Slusarz slusarz@horde.org
Located at Horde/Imap/Client/Auth/DigestMD5.php
Methods summary
public
# __construct( string $id, string $pass, string $challenge, string $hostname, string $service )

Generate the Digest-MD5 response.

Generate the Digest-MD5 response.

Parameters

$id
Authentication id (username).
$pass
Password.
$challenge
The digest challenge sent by the server.
$hostname
The hostname of the machine connecting to.
$service
The service name (e.g. 'imap', 'pop3').

Throws

Horde_Imap_Client_Exception
public string
# __toString( )

Cooerce to string.

Cooerce to string.

Returns

string
The digest response (not base64 encoded).
public mixed
# __get( mixed $name )

Return specific digest response directive.

Return specific digest response directive.

Returns

mixed
Requested directive, or null if it does not exist.
API documentation generated by ApiGen