API Documentation

Mail/Protocol/Smtp/Auth/Crammd5.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Mail
subpackage
Protocol
version
$Id: Crammd5.php 22655 2010-07-22 18:47:20Z mabe $
Classes
Zend_Mail_Protocol_Smtp_Auth_Crammd5

Description

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.

Zend_Mail_Protocol_Smtp_Auth_Crammd5

Extends from
Zend_Mail_Protocol_Smtp
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Mail
subpackage
Protocol
Methods
__construct
auth
_hmacMd5

Description

Performs CRAM-MD5 authentication

Methods

__construct

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

Constructor.

Arguments
$host
string
(Default: 127.0.0.1)
$port
int
(Default: null)
$config
array
Auth-specific parameters
Details
visibility
public
final
false
static
false

_hmacMd5

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

Prepare CRAM-MD5 response to server's ticket

Arguments
$key
string
Challenge key (usually password)
$data
string
Challenge data
$block
string
Length of blocks
Output
string
Details
visibility
protected
final
false
static
false

auth

auth( ) : void

Details
visibility
public
final
false
static
false
todo
Perform CRAM-MD5 authentication with supplied credentials
Documentation was generated by DocBlox.