Handles CRAM-MD5 authentication.

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

Generate a CRAM-MD5 response from a server challenge.

_getResponse(string $secret, string $challenge) : string

Parameters

$secret

string

$challenge

string

Returns

string