An Authentication mechanism.

package Swift
subpackage Transport
author Chris Corbyn

 Methods

Try to authenticate the user with $username and $password.

authenticate(\Swift_Transport_SmtpAgent $agent, string $username, string $password) : boolean

Parameters

$username

string

$password

string

Returns

boolean

Get the name of the AUTH mechanism this Authenticator handles.

getAuthKeyword() : string

Returns

string