TYPO3  7.6
Public Member Functions | Private Member Functions | List of all members
Swift_Transport_Esmtp_Auth_CramMd5Authenticator Class Reference
Inheritance diagram for Swift_Transport_Esmtp_Auth_CramMd5Authenticator:
Swift_Transport_Esmtp_Authenticator

Public Member Functions

 getAuthKeyword ()
 
 authenticate (Swift_Transport_SmtpAgent $agent, $username, $password)
 

Private Member Functions

 _getResponse ($secret, $challenge)
 

Detailed Description

Handles CRAM-MD5 authentication.

Author
Chris Corbyn

Definition at line 16 of file CramMd5Authenticator.php.

Member Function Documentation

_getResponse (   $secret,
  $challenge 
)
private

Generate a CRAM-MD5 response from a server challenge.

Parameters
string$secret
string$challenge
Returns
string

Definition at line 63 of file CramMd5Authenticator.php.

authenticate ( Swift_Transport_SmtpAgent  $agent,
  $username,
  $password 
)

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

Parameters
Swift_Transport_SmtpAgent$agent
string$username
string$password
Returns
bool

Implements Swift_Transport_Esmtp_Authenticator.

Definition at line 37 of file CramMd5Authenticator.php.

References Swift_Transport_SmtpAgent\executeCommand().

getAuthKeyword ( )

Get the name of the AUTH mechanism this Authenticator handles.

Returns
string

Implements Swift_Transport_Esmtp_Authenticator.

Definition at line 23 of file CramMd5Authenticator.php.