//kotlin-sdk/fr.gasmartbuilding.gasmartaccessreadersdk/ACSService
ACSService
[androidJvm]\ interface ACSService
A service interface for ACS (Access Control Server) operations.
Functions
Name | Summary |
---|---|
getSignatureFromACS | [androidJvm] @POST(value = "v1/badge/sign") abstract suspend fun getSignatureFromACS(@Header(value = "udid")udid: String, @Bodybody: SignatureRequest): Response<AppSignSignature> Endpoint for obtaining a signature from ACS |
registerDeviceToACS | [androidJvm] @POST(value = "v1/badge") abstract suspend fun registerDeviceToACS(@Header(value = "udid")udid: String, @Bodybody: UserIdRequest): Response<DeviceRegistration> Endpoint for registering a device to ACS |