diff options
author | samantharitter <samantha.ritter@10gen.com> | 2015-07-29 15:43:51 -0400 |
---|---|---|
committer | samantharitter <samantha.ritter@10gen.com> | 2015-08-10 13:30:28 -0400 |
commit | eecbe12db69e2b1a5bf83c8374200331a7ba5225 (patch) | |
tree | c52f4d6ba754050e8df869a6da32bede10f1176c /src/mongo/client/sasl_client_authenticate.cpp | |
parent | 5e384621d664132346df3044bb5007597faa123c (diff) | |
download | mongo-eecbe12db69e2b1a5bf83c8374200331a7ba5225.tar.gz |
SERVER-19155 Refactor auth methods for asynchronous handlers
Diffstat (limited to 'src/mongo/client/sasl_client_authenticate.cpp')
-rw-r--r-- | src/mongo/client/sasl_client_authenticate.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mongo/client/sasl_client_authenticate.cpp b/src/mongo/client/sasl_client_authenticate.cpp index 4222cc9a0f6..ecb7dfd7d1e 100644 --- a/src/mongo/client/sasl_client_authenticate.cpp +++ b/src/mongo/client/sasl_client_authenticate.cpp @@ -38,9 +38,10 @@ namespace mongo { using namespace mongoutils; -Status (*saslClientAuthenticate)(RunCommandHook runCommand, - StringData hostname, - const BSONObj& saslParameters) = NULL; +void (*saslClientAuthenticate)(auth::RunCommandHook runCommand, + StringData hostname, + const BSONObj& saslParameters, + auth::AuthCompletionHandler handler) = nullptr; const char* const saslStartCommandName = "saslStart"; const char* const saslContinueCommandName = "saslContinue"; |