API Documentation

Zend/Mail/Protocol/Smtp/Auth/Crammd5.php

Show: inherited
Table of Contents

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Mail  
Subpackage
Protocol  
Version
$Id: Crammd5.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Mail_Protocol_Smtp_Auth_Crammd5

Package: Zend\Mail\Protocol

Performs CRAM-MD5 authentication

Parent(s)
\Zend_Mail_Protocol_Smtp < \Zend_Mail_Protocol_Abstract
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Methods

methodpublic__construct( string $host = '127.0.0.1', int $port = null, array $config = null ) : void

Constructor.

Parameters
Name Type Description
$host string

(Default: 127.0.0.1)

$port int

(Default: null)

$config array

Auth-specific parameters

methodprotected_hmacMd5( string $key, string $data, string $block = 64 ) : string

Prepare CRAM-MD5 response to server's ticket

Parameters
Name Type Description
$key string

Challenge key (usually password)

$data string

Challenge data

$block string

Length of blocks

Returns
Type Description
string
methodpublicauth( ) : void

Details
Todo
Perform CRAM-MD5 authentication with supplied credentials  
Documentation was generated by DocBlox 0.15.1.