29#ifndef AUTH_OCI_CLIENT_UTILITIES_H
30#define AUTH_OCI_CLIENT_UTILITIES_H
41 const char *oci_profile,
42 const std::string &expanded_path,
43 std::string &err_msg);
46 const std::string &signature,
47 const std::string &token);
Definition: my_base64_encode.cc:41
OCI_config_file parse_oci_config_file(const std::string &oci_config, const char *oci_profile, const std::string &expanded_path, std::string &err_msg)
Parse oci config file to extract key fingerprint, location of private key file and security token fil...
Definition: utilities.cc:67
std::string get_oci_config_file_location(const char *oci_config)
Return the default location of ~/.oci/config file if not specified.
Definition: utilities.cc:158
std::string prepare_response(const std::string &fingerprint, const std::string &signature, const std::string &token)
JSON format the client signed response.
Definition: utilities.cc:166
Definition: utilities.h:35
std::string fingerprint
Definition: utilities.h:37
std::string key_file
Definition: utilities.h:36
std::string security_token_file
Definition: utilities.h:38