diff options
author | samantharitter <samantha.ritter@10gen.com> | 2015-08-10 18:37:35 -0400 |
---|---|---|
committer | samantharitter <samantha.ritter@10gen.com> | 2015-08-12 17:37:30 -0400 |
commit | da780777b278314d7820483882af014b7b773547 (patch) | |
tree | fda19acf3eb7bb2dc65ecdd61d9792adae90d9a2 /src/mongo/client/dbclientinterface.h | |
parent | 2482d4387b6a0fcdf825e07d7f5260041a89f3f6 (diff) | |
download | mongo-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.h | 7 |
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 |