summaryrefslogtreecommitdiff
path: root/src/mongo/executor/remote_command_request.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/executor/remote_command_request.h')
-rw-r--r--src/mongo/executor/remote_command_request.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/executor/remote_command_request.h b/src/mongo/executor/remote_command_request.h
index 7d232a34756..cca27b03e71 100644
--- a/src/mongo/executor/remote_command_request.h
+++ b/src/mongo/executor/remote_command_request.h
@@ -33,6 +33,7 @@
#include <string>
#include "mongo/base/error_codes.h"
+#include "mongo/db/auth/validated_tenancy_scope.h"
#include "mongo/db/jsobj.h"
#include "mongo/rpc/metadata.h"
#include "mongo/transport/transport_layer.h"
@@ -73,7 +74,7 @@ struct RemoteCommandRequestBase {
std::string dbname;
BSONObj metadata{rpc::makeEmptyMetadata()};
BSONObj cmdObj;
- BSONObj securityToken;
+ boost::optional<auth::ValidatedTenancyScope> validatedTenancyScope;
// OperationContext is added to each request to allow OP_Command metadata attachment access to
// the Client object. The OperationContext is only accessed on the thread that calls