MySQL 8.4.0
Source Code Documentation
utilities.cc File Reference
#include <fstream>
#include <regex>
#include "sql-common/oci/utilities.h"
#include <pwd.h>
#include <unistd.h>

Namespaces

namespace  oci
 

Functions

std::string oci::get_home_folder ()
 Return the realpath(~) More...
 
OCI_config_file oci::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 file. More...
 
std::string oci::get_oci_config_file_location (const char *oci_config)
 Return the default location of ~/.oci/config file if not specified. More...
 
std::string oci::prepare_response (const std::string &fingerprint, const std::string &signature, const std::string &token)
 JSON format the client signed response. More...