#include <virtru_audit_service.h>
virtru::AuditService::AuditService |
( |
const std::string & |
auditUrl | ) |
|
Constructor
- Parameters
-
auditUrl | - https-prefixed URL where Audit Service is hosted |
virtru::AuditService::~AuditService |
( |
| ) |
|
|
default |
void virtru::AuditService::addHeader |
( |
const std::string & |
key, |
|
|
const std::string & |
value |
|
) |
| |
Add additional header
- Parameters
-
key | - name of the Header, e.g. Connection |
value | - value of the Header, e.g. keep-alive |
void virtru::AuditService::addQueryParam |
( |
const std::string & |
key, |
|
|
const std::string & |
value |
|
) |
| |
Construct query string
- Parameters
-
key | - name of the Query, e.g. eventType |
value | - value of the Query, e.g. : encrypt |
std::string virtru::AuditService::getEventById |
( |
const std::string & |
eventId | ) |
|
Get an event which matches the provided event id.
- Parameters
-
- Returns
- - JSON
std::string virtru::AuditService::getEvents |
( |
| ) |
|
Get all Audit Events
- Returns
- - All audit events as JSON
std::string virtru::AuditService::makeHttpGet |
( |
const std::string & |
fullUrl | ) |
|
|
private |
std::string virtru::AuditService::m_auditUrl |
|
private |
std::shared_ptr<INetwork> virtru::AuditService::m_httpServiceProvider |
|
private |
std::string virtru::AuditService::m_queryString |
|
private |
The documentation for this class was generated from the following file: