#include "sasl_mechanism.hpp" auto SaslPlain::step(std::string_view msg) -> std::optional { if (complete_) { return std::nullopt; } else { std::string reply; reply += authzid_; reply += '\0'; reply += authcid_; reply += '\0'; reply += password_; complete_ = true; return {std::move(reply)}; } }