]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/msg/Dispatcher.h
update sources to 12.2.7
[ceph.git] / ceph / src / msg / Dispatcher.h
index 5af27ea17f389ed62ac7e0d2959c16dd0f1212e3..64adefbd3f28cbb695a5dbdc4d7fc754ffe54ebc 100644 (file)
@@ -17,6 +17,7 @@
 #define CEPH_DISPATCHER_H
 
 #include "include/assert.h"
+#include <memory>
 #include "include/buffer_fwd.h"
 #include "include/assert.h"
 
@@ -26,6 +27,7 @@ class Connection;
 class AuthAuthorizer;
 class CryptoKey;
 class CephContext;
+class AuthAuthorizerChallenge;
 
 class Dispatcher {
 public:
@@ -204,7 +206,10 @@ public:
                                    ceph::bufferlist& authorizer,
                                    ceph::bufferlist& authorizer_reply,
                                    bool& isvalid,
-                                   CryptoKey& session_key) { return false; }
+                                   CryptoKey& session_key,
+                                   std::unique_ptr<AuthAuthorizerChallenge> *challenge) {
+    return false;
+  }
   /**
    * @} //Authentication
    */