summaryrefslogtreecommitdiff
path: root/src/mongo/client/dbclientinterface.h
diff options
context:
space:
mode:
authorsamantharitter <samantha.ritter@10gen.com>2015-08-10 18:37:35 -0400
committersamantharitter <samantha.ritter@10gen.com>2015-08-12 17:37:30 -0400
commitda780777b278314d7820483882af014b7b773547 (patch)
treefda19acf3eb7bb2dc65ecdd61d9792adae90d9a2 /src/mongo/client/dbclientinterface.h
parent2482d4387b6a0fcdf825e07d7f5260041a89f3f6 (diff)
downloadmongo-da780777b278314d7820483882af014b7b773547.tar.gz
SERVER-19155 Remove authcommon target's dependency on DBClientWithCommands
Diffstat (limited to 'src/mongo/client/dbclientinterface.h')
-rw-r--r--src/mongo/client/dbclientinterface.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mongo/client/dbclientinterface.h b/src/mongo/client/dbclientinterface.h
index e4f90c82dea..670b60fb7b9 100644
--- a/src/mongo/client/dbclientinterface.h
+++ b/src/mongo/client/dbclientinterface.h
@@ -574,6 +574,13 @@ public:
int options = 0);
/**
+ * Authenticates to another cluster member using appropriate authentication data.
+ * Uses getInternalUserAuthParams() to retrive authentication parameters.
+ * @return true if the authentication was succesful
+ */
+ bool authenticateInternalUser();
+
+ /**
* Authenticate a user.
*
* The "params" BSONObj should be initialized with some of the fields below. Which fields