Manage to perfom secure request

This commit is contained in:
2024-08-18 20:13:03 +02:00
parent a6b283d023
commit 3b5d2abcc0
6 changed files with 115 additions and 1 deletions

View File

@ -0,0 +1,35 @@
/**
* Secure API functions
*/
#pragma once
#ifdef __cplusplus
extern "C"
{
#endif
/**
* Device enrollment status
*/
enum DevEnrollmentStatus
{
/** An error occurred while retrieving device status */
DevEnrollError,
/** Device is unknown by the backend */
DevEnrollUnknown,
/** Device hasn't been validated yet */
DevEnrollPending,
/** Device has been validated by the backend */
DevEnrollValidated,
};
/**
* Get current device enrollment status
*/
enum DevEnrollmentStatus
secure_api_get_device_enrollment_status();
#ifdef __cplusplus
}
#endif