16#include <boost/scoped_ptr.hpp>
18#include "mongo/client/sasl_client_session.h"
22 class SaslClientConversation;
37 virtual Status step(
const StringData& inputData, std::string* outputData);
39 virtual bool isDone()
const {
return _done; }
49 boost::scoped_ptr<SaslClientConversation> _saslConversation;
Implementation of the client side of a SASL authentication conversation using the native SASL impleme...
Definition native_sasl_client_session.h:28
virtual bool isDone() const
Returns true if the authentication completed successfully.
Definition native_sasl_client_session.h:39
virtual Status step(const StringData &inputData, std::string *outputData)
Takes one step of the SASL protocol on behalf of the client.
virtual Status initialize()
Initializes a session for use.
Base class for the client side of a SASL authentication conversation.
Definition sasl_client_session.h:42
the main MongoDB namespace
Definition bulk_operation_builder.h:24
MONGO_CLIENT_API Status(MONGO_CLIENT_FUNC *saslClientAuthenticate)(DBClientWithCommands *client
Attempts to authenticate "client" using the SASL protocol.