summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/SASL/PLAINMessage.h')
-rw-r--r--Swiften/SASL/PLAINMessage.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/Swiften/SASL/PLAINMessage.h b/Swiften/SASL/PLAINMessage.h
index 3624c6e..d08d70d 100644
--- a/Swiften/SASL/PLAINMessage.h
+++ b/Swiften/SASL/PLAINMessage.h
@@ -8,32 +8,32 @@
//
#pragma once
-#include "Swiften/Base/String.h"
+#include <string>
#include "Swiften/Base/ByteArray.h"
namespace Swift {
class PLAINMessage {
public:
- PLAINMessage(const String& authcid, const String& password, const String& authzid = "");
+ PLAINMessage(const std::string& authcid, const std::string& password, const std::string& authzid = "");
PLAINMessage(const ByteArray& value);
ByteArray getValue() const;
- const String& getAuthenticationID() const {
+ const std::string& getAuthenticationID() const {
return authcid;
}
- const String& getPassword() const {
+ const std::string& getPassword() const {
return password;
}
- const String& getAuthorizationID() const {
+ const std::string& getAuthorizationID() const {
return authzid;
}
private:
- String authcid;
- String authzid;
- String password;
+ std::string authcid;
+ std::string authzid;
+ std::string password;
};
}