__construct() __construct(string $user, string $pass, string $hash = 'SHA1') Constructor. Parameters string $user Username. string $pass Password. string $hash Hash name. Throws \Horde_Imap_Client_Exception
getClientFirstMessage() getClientFirstMessage() : string Return the initial client message. Returns string — Initial client message.
parseServerFirstMessage() parseServerFirstMessage(string $msg) : boolean Process the initial server message response. Parameters string $msg Initial server response. Returns boolean — False if authentication failed at this stage.
getClientFinalMessage() getClientFinalMessage() : string Return the final client message. Returns string — Final client message.
parseServerFinalMessage() parseServerFinalMessage(string $msg) : boolean Process the final server message response. Parameters string $msg Final server response. Returns boolean — False if authentication failed.