4.6 Authorization
4.6.1 Authorize Employee
#include "BayunCore.h"
std::string employeePublicKey = "<employeePublicKey>"
std::string companyName = "<companyName>"
std::string companyEmployeeId = "<companyEmployeeId>"
Bayun::BayunAuthResponseCode responseCode =
bayunCore->authorizeEmployee(employeePublicKey, companyName, companyEmployeeId);
if (responseCode == Bayun::BayunAuthResponseCode::Success) {
//EmployeePublicKey is authorized successfully
}4.6.2 Get Unauthorized Employee Public Key
Last updated