diff options
Diffstat (limited to 'Swiften/SASL/PLAINClientAuthenticator.cpp')
m--------- | Swiften | 0 | ||||
-rw-r--r-- | Swiften/SASL/PLAINClientAuthenticator.cpp | 16 |
2 files changed, 0 insertions, 16 deletions
diff --git a/Swiften b/Swiften new file mode 160000 +Subproject 8213ba16d0043d2461f4b031c881d61dda5a38c diff --git a/Swiften/SASL/PLAINClientAuthenticator.cpp b/Swiften/SASL/PLAINClientAuthenticator.cpp deleted file mode 100644 index 8f88c3c..0000000 --- a/Swiften/SASL/PLAINClientAuthenticator.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "Swiften/SASL/PLAINClientAuthenticator.h" - -namespace Swift { - -PLAINClientAuthenticator::PLAINClientAuthenticator() : ClientAuthenticator("PLAIN") { -} - -ByteArray PLAINClientAuthenticator::getResponse() const { - return ByteArray(getAuthorizationID()) + '\0' + ByteArray(getAuthenticationID()) + '\0' + ByteArray(getPassword()); -} - -bool PLAINClientAuthenticator::setChallenge(const ByteArray&) { - return true; -} - -} |