#ifndef VSOMEIP_V3_ENDPOINTS_INCLUDE_CREDENTIALS_HPP_
#define VSOMEIP_V3_ENDPOINTS_INCLUDE_CREDENTIALS_HPP_
#include <tuple>
#include <boost/optional.hpp>
#include <vsomeip/primitive_types.hpp>
namespace vsomeip_v3 {
class credentials {
public:
static void activate_credentials(const int _fd);
static void deactivate_credentials(const int _fd);
using received_t = std::tuple<client_t, uid_t, gid_t, std::string>;
static boost::optional<received_t> receive_credentials(const int _fd);
static void send_credentials(const int _fd, client_t _client, std::string _client_host);
};
}
#endif