Class Swift_Transport_Esmtp_Auth_CramMd5Authenticator

InheritanceSwift_Transport_Esmtp_Auth_CramMd5Authenticator
ImplementsSwift_Transport_Esmtp_Authenticator

Handles CRAM-MD5 authentication.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
authenticate() Try to authenticate the user with $username and $password. Swift_Transport_Esmtp_Auth_CramMd5Authenticator
getAuthKeyword() Get the name of the AUTH mechanism this Authenticator handles. Swift_Transport_Esmtp_Auth_CramMd5Authenticator

Method Details

authenticate() public method

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

public bool authenticate ( Swift_Transport_SmtpAgent $agent, $username, $password )
$agent Swift_Transport_SmtpAgent
$username string
$password string
getAuthKeyword() public method

Get the name of the AUTH mechanism this Authenticator handles.

public string getAuthKeyword ( )