blob: c88d6cfca205750e25d321a2aab3bc8a8fbd3053 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#include "Swiften/SASL/PLAINMessage.h"
namespace Swift {
PLAINMessage::PLAINMessage(const String& authcid, const String& password, const String& authzid) {
String s = authzid + '\0' + authcid + '\0' + password;
value_ = ByteArray(s.getUTF8Data(), s.getUTF8Size());
}
}
|