XOOPS RMCommon Utilities
2.1.8.91RC
|
Public Member Functions | |
__construct (array $authenticators) | |
afterEhlo (Swift_Transport_SmtpAgent $agent) | |
exposeMixinMethods () | |
getAuthenticators () | |
getAuthMode () | |
getHandledKeyword () | |
getMailParams () | |
getPassword () | |
getPriorityOver ($esmtpKeyword) | |
getRcptParams () | |
getUsername () | |
onCommand (Swift_Transport_SmtpAgent $agent, $command, $codes=array(), &$failedRecipients=null, &$stop=false) | |
resetState () | |
setAuthenticators (array $authenticators) | |
setAuthMode ($mode) | |
setKeywordParams (array $parameters) | |
setPassword ($password) | |
setUsername ($username) | |
Protected Member Functions | |
_getAuthenticatorsForAgent () | |
Private Attributes | |
$_auth_mode | |
$_authenticators = array() | |
$_esmtpParams = array() | |
$_password | |
$_username | |
Definition at line 21 of file AuthHandler.php.
Swift_Transport_Esmtp_AuthHandler::__construct | ( | array | $authenticators | ) |
Create a new AuthHandler with $authenticators for support.
Swift_Transport_Esmtp_Authenticator[] | $authenticators |
Definition at line 63 of file AuthHandler.php.
References setAuthenticators().
|
protected |
Returns the authenticator list for the given agent.
Swift_Transport_SmtpAgent | $agent |
Definition at line 245 of file AuthHandler.php.
References $_authenticators.
Referenced by afterEhlo().
Swift_Transport_Esmtp_AuthHandler::afterEhlo | ( | Swift_Transport_SmtpAgent | $agent | ) |
Runs immediately after a EHLO has been issued.
Swift_Transport_SmtpAgent | $agent | to read/write |
Implements Swift_Transport_EsmtpHandler.
Definition at line 162 of file AuthHandler.php.
References _getAuthenticatorsForAgent().
Swift_Transport_Esmtp_AuthHandler::exposeMixinMethods | ( | ) |
Returns an array of method names which are exposed to the Esmtp class.
Implements Swift_Transport_EsmtpHandler.
Definition at line 225 of file AuthHandler.php.
Swift_Transport_Esmtp_AuthHandler::getAuthenticators | ( | ) |
Get the Authenticators which can process a login request.
Definition at line 81 of file AuthHandler.php.
References $_authenticators.
Swift_Transport_Esmtp_AuthHandler::getAuthMode | ( | ) |
Get the auth mode to use to authenticate.
Definition at line 135 of file AuthHandler.php.
References $_auth_mode.
Swift_Transport_Esmtp_AuthHandler::getHandledKeyword | ( | ) |
Get the name of the ESMTP extension this handles.
Implements Swift_Transport_EsmtpHandler.
Definition at line 144 of file AuthHandler.php.
Swift_Transport_Esmtp_AuthHandler::getMailParams | ( | ) |
Swift_Transport_Esmtp_AuthHandler::getPassword | ( | ) |
Get the password to authenticate with.
Definition at line 117 of file AuthHandler.php.
References $_password.
Swift_Transport_Esmtp_AuthHandler::getPriorityOver | ( | $esmtpKeyword | ) |
Returns +1, -1 or 0 according to the rules for usort(). This method is called to ensure extensions can be execute in an appropriate order.
string | $esmtpKeyword | to compare with |
Implements Swift_Transport_EsmtpHandler.
Definition at line 216 of file AuthHandler.php.
Swift_Transport_Esmtp_AuthHandler::getRcptParams | ( | ) |
Swift_Transport_Esmtp_AuthHandler::getUsername | ( | ) |
Get the username to authenticate with.
Definition at line 99 of file AuthHandler.php.
References $_username.
Swift_Transport_Esmtp_AuthHandler::onCommand | ( | Swift_Transport_SmtpAgent | $agent, |
$command, | |||
$codes = array() , |
|||
& | $failedRecipients = null , |
||
& | $stop = false |
||
) |
Swift_Transport_Esmtp_AuthHandler::resetState | ( | ) |
Swift_Transport_Esmtp_AuthHandler::setAuthenticators | ( | array | $authenticators | ) |
Set the Authenticators which can process a login request.
Swift_Transport_Esmtp_Authenticator[] | $authenticators |
Definition at line 72 of file AuthHandler.php.
Referenced by __construct().
Swift_Transport_Esmtp_AuthHandler::setAuthMode | ( | $mode | ) |
Set the auth mode to use to authenticate.
string | $mode |
Definition at line 126 of file AuthHandler.php.
Swift_Transport_Esmtp_AuthHandler::setKeywordParams | ( | array | $parameters | ) |
Set the parameters which the EHLO greeting indicated.
string[] | $parameters |
Implements Swift_Transport_EsmtpHandler.
Definition at line 153 of file AuthHandler.php.
Swift_Transport_Esmtp_AuthHandler::setPassword | ( | $password | ) |
Set the password to authenticate with.
string | $password |
Definition at line 108 of file AuthHandler.php.
Swift_Transport_Esmtp_AuthHandler::setUsername | ( | $username | ) |
Set the username to authenticate with.
string | $username |
Definition at line 90 of file AuthHandler.php.
|
private |
Definition at line 50 of file AuthHandler.php.
Referenced by getAuthMode().
|
private |
Definition at line 29 of file AuthHandler.php.
Referenced by _getAuthenticatorsForAgent(), and getAuthenticators().
|
private |
Definition at line 57 of file AuthHandler.php.
|
private |
Definition at line 43 of file AuthHandler.php.
Referenced by getPassword().
|
private |
Definition at line 36 of file AuthHandler.php.
Referenced by getUsername().