summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/SASL/PLAINMessage.h')
-rw-r--r--Swiften/SASL/PLAINMessage.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/Swiften/SASL/PLAINMessage.h b/Swiften/SASL/PLAINMessage.h
new file mode 100644
index 0000000..14a51f2
--- /dev/null
+++ b/Swiften/SASL/PLAINMessage.h
@@ -0,0 +1,22 @@
+#ifndef SASL_PLAINMESSAGE_H
+#define SASL_PLAINMESSAGE_H
+
+#include "Swiften/Base/String.h"
+#include "Swiften/Base/ByteArray.h"
+
+namespace Swift {
+ class PLAINMessage
+ {
+ public:
+ PLAINMessage(const String& authcid, const String& password, const String& authzid = "");
+
+ const ByteArray& getValue() {
+ return value_;
+ }
+
+ private:
+ ByteArray value_;
+ };
+}
+
+#endif