PHP 클래스 Swift_Transport_Esmtp_AuthHandler, Halite

저자: Chris Corbyn
상속: implements Swift_Transport_EsmtpHandler
파일 보기 프로젝트 열기: HaliteChallenge/Halite 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( array $authenticators ) Create a new AuthHandler with $authenticators for support.
afterEhlo ( Swift_Transport_SmtpAgent $agent ) Runs immediately after a EHLO has been issued.
exposeMixinMethods ( ) : string[] Returns an array of method names which are exposed to the Esmtp class.
getAuthMode ( ) : string Get the auth mode to use to authenticate.
getAuthenticators ( ) : Swift_Transport_Esmtp_Authenticator[] Get the Authenticators which can process a login request.
getHandledKeyword ( ) : boolean Get the name of the ESMTP extension this handles.
getMailParams ( ) Not used.
getPassword ( ) : string Get the password to authenticate with.
getPriorityOver ( string $esmtpKeyword ) : integer Returns +1, -1 or 0 according to the rules for usort().
getRcptParams ( ) Not used.
getUsername ( ) : string Get the username to authenticate with.
onCommand ( Swift_Transport_SmtpAgent $agent, $command, $codes = [], &$failedRecipients = null, &$stop = false ) Not used.
resetState ( ) Not used.
setAuthMode ( string $mode ) Set the auth mode to use to authenticate.
setAuthenticators ( array $authenticators ) Set the Authenticators which can process a login request.
setKeywordParams ( array $parameters ) Set the parameters which the EHLO greeting indicated.
setPassword ( string $password ) Set the password to authenticate with.
setUsername ( string $username ) Set the username to authenticate with.

보호된 메소드들

메소드 설명
_getAuthenticatorsForAgent ( ) : array Returns the authenticator list for the given agent.

메소드 상세

__construct() 공개 메소드

Create a new AuthHandler with $authenticators for support.
public __construct ( array $authenticators )
$authenticators array

_getAuthenticatorsForAgent() 보호된 메소드

Returns the authenticator list for the given agent.
protected _getAuthenticatorsForAgent ( ) : array
리턴 array

afterEhlo() 공개 메소드

Runs immediately after a EHLO has been issued.
public afterEhlo ( Swift_Transport_SmtpAgent $agent )
$agent Swift_Transport_SmtpAgent to read/write

exposeMixinMethods() 공개 메소드

Returns an array of method names which are exposed to the Esmtp class.
public exposeMixinMethods ( ) : string[]
리턴 string[]

getAuthMode() 공개 메소드

Get the auth mode to use to authenticate.
public getAuthMode ( ) : string
리턴 string

getAuthenticators() 공개 메소드

Get the Authenticators which can process a login request.
public getAuthenticators ( ) : Swift_Transport_Esmtp_Authenticator[]
리턴 Swift_Transport_Esmtp_Authenticator[]

getHandledKeyword() 공개 메소드

Get the name of the ESMTP extension this handles.
public getHandledKeyword ( ) : boolean
리턴 boolean

getMailParams() 공개 메소드

Not used.
public getMailParams ( )

getPassword() 공개 메소드

Get the password to authenticate with.
public getPassword ( ) : string
리턴 string

getPriorityOver() 공개 메소드

This method is called to ensure extensions can be execute in an appropriate order.
public getPriorityOver ( string $esmtpKeyword ) : integer
$esmtpKeyword string to compare with
리턴 integer

getRcptParams() 공개 메소드

Not used.
public getRcptParams ( )

getUsername() 공개 메소드

Get the username to authenticate with.
public getUsername ( ) : string
리턴 string

onCommand() 공개 메소드

Not used.
public onCommand ( Swift_Transport_SmtpAgent $agent, $command, $codes = [], &$failedRecipients = null, &$stop = false )
$agent Swift_Transport_SmtpAgent

resetState() 공개 메소드

Not used.
public resetState ( )

setAuthMode() 공개 메소드

Set the auth mode to use to authenticate.
public setAuthMode ( string $mode )
$mode string

setAuthenticators() 공개 메소드

Set the Authenticators which can process a login request.
public setAuthenticators ( array $authenticators )
$authenticators array

setKeywordParams() 공개 메소드

Set the parameters which the EHLO greeting indicated.
public setKeywordParams ( array $parameters )
$parameters array

setPassword() 공개 메소드

Set the password to authenticate with.
public setPassword ( string $password )
$password string

setUsername() 공개 메소드

Set the username to authenticate with.
public setUsername ( string $username )
$username string