XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
Swift_Transport_Esmtp_Auth_CramMd5Authenticator Class Reference
Inheritance diagram for Swift_Transport_Esmtp_Auth_CramMd5Authenticator:
Inheritance graph

Public Member Functions

 authenticate (Swift_Transport_SmtpAgent $agent, $username, $password)
 
 getAuthKeyword ()
 

Private Member Functions

 _getResponse ($secret, $challenge)
 

Detailed Description

Definition at line 21 of file CramMd5Authenticator.php.

Member Function Documentation

Swift_Transport_Esmtp_Auth_CramMd5Authenticator::_getResponse (   $secret,
  $challenge 
)
private

Generate a CRAM-MD5 response from a server challenge.

Parameters
string$secret
string$challenge
Returns
string

Definition at line 67 of file CramMd5Authenticator.php.

Referenced by authenticate().

Here is the caller graph for this function:

Swift_Transport_Esmtp_Auth_CramMd5Authenticator::authenticate ( Swift_Transport_SmtpAgent  $agent,
  $username,
  $password 
)

Try to authenticate the user with $username and $password.

Parameters
Swift_Transport_SmtpAgent$agent
string$username
string$password
Returns
boolean

Implements Swift_Transport_Esmtp_Authenticator.

Definition at line 41 of file CramMd5Authenticator.php.

References _getResponse(), and Swift_Transport_SmtpAgent\executeCommand().

Here is the call graph for this function:

Swift_Transport_Esmtp_Auth_CramMd5Authenticator::getAuthKeyword ( )

Get the name of the AUTH mechanism this Authenticator handles.

Returns
string

Implements Swift_Transport_Esmtp_Authenticator.

Definition at line 29 of file CramMd5Authenticator.php.


The documentation for this class was generated from the following file: