PHP Класс Swift_Transport_Esmtp_Auth_CramMd5Authenticator, Halite

Автор: Chris Corbyn
Наследование: implements Swift_Transport_Esmtp_Authenticator
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
_getResponse ( string $secret, string $challenge ) : string Generate a CRAM-MD5 response from a server challenge.

Описание методов

authenticate() публичный Метод

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
Результат boolean

getAuthKeyword() публичный Метод

Get the name of the AUTH mechanism this Authenticator handles.
public getAuthKeyword ( ) : string
Результат string