]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_oidc_provider.h
import ceph pacific 16.2.5
[ceph.git] / ceph / src / rgw / rgw_oidc_provider.h
index f8ecb7b59a91270ae4cf56d318d5bbe68289f12b..4b6ecda9d76c310b005f08595332bbb4976f30ba 100644 (file)
@@ -35,8 +35,8 @@ class RGWOIDCProvider
   vector<string> thumbprints;
 
   int get_tenant_url_from_arn(string& tenant, string& url);
-  int store_url(const string& url, bool exclusive, optional_yield y);
-  int read_url(const string& url, const string& tenant);
+  int store_url(const DoutPrefixProvider *dpp, const string& url, bool exclusive, optional_yield y);
+  int read_url(const DoutPrefixProvider *dpp, const string& url, const string& tenant);
   bool validate_input();
 
 public:
@@ -110,15 +110,15 @@ public:
   const vector<string>& get_client_ids() const { return client_ids;}
   const vector<string>& get_thumbprints() const { return thumbprints; }
 
-  int create(bool exclusive, optional_yield y);
-  int delete_obj(optional_yield y);
-  int get();
+  int create(const DoutPrefixProvider *dpp, bool exclusive, optional_yield y);
+  int delete_obj(const DoutPrefixProvider *dpp, optional_yield y);
+  int get(const DoutPrefixProvider *dpp);
   void dump(Formatter *f) const;
   void dump_all(Formatter *f) const;
   void decode_json(JSONObj *obj);
 
   static const string& get_url_oid_prefix();
-  static int get_providers(RGWRados *store,
+  static int get_providers(const DoutPrefixProvider *dpp, RGWRados *store,
                             const string& tenant,
                             vector<RGWOIDCProvider>& providers);
 };