Class Swift_Transport_Esmtp_Auth_PlainAuthenticator
Inheritance | Swift_Transport_Esmtp_Auth_PlainAuthenticator |
---|---|
Implements | Swift_Transport_Esmtp_Authenticator |
Handles PLAIN authentication.
Public Methods
Method | Description | Defined By |
---|---|---|
authenticate() | Try to authenticate the user with $username and $password. | Swift_Transport_Esmtp_Auth_PlainAuthenticator |
getAuthKeyword() | Get the name of the AUTH mechanism this Authenticator handles. | Swift_Transport_Esmtp_Auth_PlainAuthenticator |
Method Details
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 |
Get the name of the AUTH mechanism this Authenticator handles.
public string getAuthKeyword ( ) |