/opt/alt/php71/usr/share/pear/Auth/SASL
NameSizeModeActions
Anonymous.php34530644editdlrm
Common.php43740644editdlrm
CramMD5.php34120644editdlrm
DigestMD5.php85510644editdlrm
External.php31160644editdlrm
Login.php31510644editdlrm
Plain.php31330644editdlrm
SCRAM.php125390644editdlrm
Edit: /opt/alt/php71/usr/share/pear/Auth/SASL/Plain.php (3133B)
| // +-----------------------------------------------------------------------+ // // $Id$ /** * Implmentation of PLAIN SASL mechanism * * @author Richard Heyes * @access public * @version 1.0 * @package Auth_SASL */ require_once('Auth/SASL/Common.php'); class Auth_SASL_Plain extends Auth_SASL_Common { /** * Returns PLAIN response * * @param string $authcid Authentication id (username) * @param string $pass Password * @param string $authzid Autorization id * @return string PLAIN Response */ function getResponse($authcid, $pass, $authzid = '') { return $authzid . chr(0) . $authcid . chr(0) . $pass; } } ?>