Cloud Authentication
data class CloudAuthentication(val token: String, val tokenSource: CloudAuthentication.TokenSource, val cloudTokenCoapType: Int?, val payloadSignatureCoapType: Int?)
Represents cloud authentication features like cloud token, its configuration, CoAP options to send cloud token and ECDSA payload signature.
Constructors
Link copied to clipboard
constructor(token: String, tokenSource: CloudAuthentication.TokenSource, cloudTokenCoapType: Int?, payloadSignatureCoapType: Int?)
Properties
Link copied to clipboard
id of CoAP option to send cloud token or null if should be sent in the payload
Link copied to clipboard
id of CoAP option to send ECDSA payload signature or null if payload signature should not be sent
Link copied to clipboard
cloud token used by the sensor for identification in Cloud when TokenSource.CUSTOM mode is selected
Link copied to clipboard
where the sensor takes its cloud token from