XOOPS RMCommon Utilities
2.1.8.91RC
|
Public Member Functions | |
authenticate (Swift_Transport_SmtpAgent $agent, $username, $password) | |
getAuthKeyword () | |
Private Member Functions | |
_getResponse ($secret, $challenge) | |
Definition at line 21 of file CramMd5Authenticator.php.
|
private |
Generate a CRAM-MD5 response from a server challenge.
string | $secret | |
string | $challenge |
Definition at line 67 of file CramMd5Authenticator.php.
Referenced by authenticate().
Swift_Transport_Esmtp_Auth_CramMd5Authenticator::authenticate | ( | Swift_Transport_SmtpAgent | $agent, |
$username, | |||
$password | |||
) |
Try to authenticate the user with $username and $password.
Swift_Transport_SmtpAgent | $agent | |
string | $username | |
string | $password |
Implements Swift_Transport_Esmtp_Authenticator.
Definition at line 41 of file CramMd5Authenticator.php.
References _getResponse(), and Swift_Transport_SmtpAgent\executeCommand().
Swift_Transport_Esmtp_Auth_CramMd5Authenticator::getAuthKeyword | ( | ) |
Get the name of the AUTH mechanism this Authenticator handles.
Implements Swift_Transport_Esmtp_Authenticator.
Definition at line 29 of file CramMd5Authenticator.php.