PHP Interface Swift_Transport_Esmtp_Authenticator, Halite

Author: Chris Corbyn
Afficher le fichier Open project: HaliteChallenge/Halite

Méthodes publiques

Méthode Description
authenticate ( Swift_Transport_SmtpAgent $agent, string $username, string $password ) : boolean Try to authenticate the user with $username and $password.
getAuthKeyword ( ) : string Get the name of the AUTH mechanism this Authenticator handles.

Method Details

authenticate() public méthode

Try to authenticate the user with $username and $password.
public authenticate ( Swift_Transport_SmtpAgent $agent, string $username, string $password ) : boolean
$agent Swift_Transport_SmtpAgent
$username string
$password string
Résultat boolean

getAuthKeyword() public méthode

Get the name of the AUTH mechanism this Authenticator handles.
public getAuthKeyword ( ) : string
Résultat string