![]() |
TYPO3
7.6
|
Public Member Functions | |
| __construct (array $authenticators) | |
| setAuthenticators (array $authenticators) | |
| getAuthenticators () | |
| setUsername ($username) | |
| getUsername () | |
| setPassword ($password) | |
| getPassword () | |
| setAuthMode ($mode) | |
| getAuthMode () | |
| getHandledKeyword () | |
| setKeywordParams (array $parameters) | |
| afterEhlo (Swift_Transport_SmtpAgent $agent) | |
| getMailParams () | |
| getRcptParams () | |
| onCommand (Swift_Transport_SmtpAgent $agent, $command, $codes=array(), &$failedRecipients=null, &$stop=false) | |
| getPriorityOver ($esmtpKeyword) | |
| exposeMixinMethods () | |
| resetState () | |
Protected Member Functions | |
| _getAuthenticatorsForAgent () | |
Private Attributes | |
| $_authenticators = array() | |
| $_username | |
| $_password | |
| $_auth_mode | |
| $_esmtpParams = array() | |
An ESMTP handler for AUTH support.
Definition at line 16 of file AuthHandler.php.
| __construct | ( | array | $authenticators | ) |
Create a new AuthHandler with $authenticators for support.
| Swift_Transport_Esmtp_Authenticator[] | $authenticators |
Definition at line 58 of file AuthHandler.php.
References setAuthenticators().
|
protected |
Returns the authenticator list for the given agent.
| Swift_Transport_SmtpAgent | $agent |
Definition at line 249 of file AuthHandler.php.
References $_authenticators.
Referenced by afterEhlo().
| 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 168 of file AuthHandler.php.
References _getAuthenticatorsForAgent().
| exposeMixinMethods | ( | ) |
Returns an array of method names which are exposed to the Esmtp class.
Implements Swift_Transport_EsmtpHandler.
Definition at line 230 of file AuthHandler.php.
| getAuthenticators | ( | ) |
Get the Authenticators which can process a login request.
Definition at line 78 of file AuthHandler.php.
References $_authenticators.
| getAuthMode | ( | ) |
Get the auth mode to use to authenticate.
Definition at line 138 of file AuthHandler.php.
References $_auth_mode.
| getHandledKeyword | ( | ) |
Get the name of the ESMTP extension this handles.
Implements Swift_Transport_EsmtpHandler.
Definition at line 148 of file AuthHandler.php.
| getMailParams | ( | ) |
| getPassword | ( | ) |
Get the password to authenticate with.
Definition at line 118 of file AuthHandler.php.
References $_password.
| 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 220 of file AuthHandler.php.
| getRcptParams | ( | ) |
| getUsername | ( | ) |
Get the username to authenticate with.
Definition at line 98 of file AuthHandler.php.
References $_username.
| onCommand | ( | Swift_Transport_SmtpAgent | $agent, |
| $command, | |||
$codes = array(), |
|||
| & | $failedRecipients = null, |
||
| & | $stop = false |
||
| ) |
| resetState | ( | ) |
| setAuthenticators | ( | array | $authenticators | ) |
Set the Authenticators which can process a login request.
| Swift_Transport_Esmtp_Authenticator[] | $authenticators |
Definition at line 68 of file AuthHandler.php.
Referenced by __construct().
| setAuthMode | ( | $mode | ) |
Set the auth mode to use to authenticate.
| string | $mode |
Definition at line 128 of file AuthHandler.php.
| setKeywordParams | ( | array | $parameters | ) |
Set the parameters which the EHLO greeting indicated.
| string[] | $parameters |
Implements Swift_Transport_EsmtpHandler.
Definition at line 158 of file AuthHandler.php.
| setPassword | ( | $password | ) |
Set the password to authenticate with.
| string | $password |
Definition at line 108 of file AuthHandler.php.
| setUsername | ( | $username | ) |
Set the username to authenticate with.
| string | $username |
Definition at line 88 of file AuthHandler.php.
|
private |
Definition at line 44 of file AuthHandler.php.
Referenced by getAuthMode().
|
private |
Definition at line 23 of file AuthHandler.php.
Referenced by _getAuthenticatorsForAgent(), and getAuthenticators().
|
private |
Definition at line 51 of file AuthHandler.php.
|
private |
Definition at line 37 of file AuthHandler.php.
Referenced by getPassword().
|
private |
Definition at line 30 of file AuthHandler.php.
Referenced by getUsername().
1.8.3