]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_sts.h
import ceph pacific 16.2.5
[ceph.git] / ceph / src / rgw / rgw_sts.h
index a54ef3e1028f4270c9cdb305f188bbf170ae99fc..14c783c1cde014c4cd4f0dfd84426c4f356eaa78 100644 (file)
@@ -229,14 +229,14 @@ class STSService {
   rgw_user user_id;
   RGWRole role;
   rgw::auth::Identity* identity;
-  int storeARN(string& arn, optional_yield y);
+  int storeARN(const DoutPrefixProvider *dpp, string& arn, optional_yield y);
 public:
   STSService() = default;
   STSService(CephContext* cct, rgw::sal::RGWRadosStore *store, rgw_user user_id,
             rgw::auth::Identity* identity)
     : cct(cct), store(store), user_id(user_id), identity(identity) {}
-  std::tuple<int, RGWRole> getRoleInfo(const string& arn, optional_yield y);
-  AssumeRoleResponse assumeRole(AssumeRoleRequest& req, optional_yield y);
+  std::tuple<int, RGWRole> getRoleInfo(const DoutPrefixProvider *dpp, const string& arn, optional_yield y);
+  AssumeRoleResponse assumeRole(const DoutPrefixProvider *dpp, AssumeRoleRequest& req, optional_yield y);
   GetSessionTokenResponse getSessionToken(GetSessionTokenRequest& req);
   AssumeRoleWithWebIdentityResponse assumeRoleWithWebIdentity(AssumeRoleWithWebIdentityRequest& req);
 };