|
| AccessCredentials (const AccessCredentials &ac)=default |
|
| AccessCredentials (std::string config_name) |
|
virtual void | add (const std::string &key, const std::string &value) |
| Add the key and value pair.
|
|
virtual std::string | get (const std::string &key) |
|
virtual bool | is_s3_cred () |
| Do the URL, ID, Key amd Region items make up an S3 Credential?
|
|
std::string | name () const |
|
void | name (const std::string &name) |
|
std::string | to_json () const |
|
Definition at line 13 of file AccessCredentials.h.
◆ AccessCredentials()
http::AccessCredentials::AccessCredentials |
( |
std::string | config_name | ) |
|
|
inlineexplicit |
◆ add()
void http::AccessCredentials::add |
( |
const std::string & | key, |
|
|
const std::string & | value ) |
|
virtual |
◆ get()
string http::AccessCredentials::get |
( |
const std::string & | key | ) |
|
|
virtual |
Retrieves the value of key
- Parameters
-
key | The key value to retrieve |
- Returns
- The value of the key, empty string if the key does not exist.
Definition at line 50 of file AccessCredentials.cc.
◆ is_s3_cred()
bool http::AccessCredentials::is_s3_cred |
( |
| ) |
|
|
virtual |
Do the URL, ID, Key amd Region items make up an S3 Credential?
- Returns
- True
Definition at line 73 of file AccessCredentials.cc.
◆ name() [1/2]
std::string http::AccessCredentials::name |
( |
| ) |
const |
|
inline |
◆ name() [2/2]
void http::AccessCredentials::name |
( |
const std::string & | name | ) |
|
|
inline |
◆ to_json()
string http::AccessCredentials::to_json |
( |
| ) |
const |
◆ ID_KEY
const char * http::AccessCredentials::ID_KEY = "id" |
|
static |
◆ KEY_KEY
const char * http::AccessCredentials::KEY_KEY = "key" |
|
static |
◆ REGION_KEY
const char * http::AccessCredentials::REGION_KEY = "region" |
|
static |
◆ URL_KEY
const char * http::AccessCredentials::URL_KEY = "url" |
|
static |
The documentation for this class was generated from the following files: