CloudAuthentication

constructor(token: String, tokenSource: CloudAuthentication.TokenSource, cloudTokenCoapType: Int?, payloadSignatureCoapType: Int?)

Parameters

token

cloud token used by the sensor for identification in Cloud when TokenSource.CUSTOM mode is selected

tokenSource

to which sensor will send the data

cloudTokenCoapType

id of CoAP option to send cloud token or null if should be sent in the payload

payloadSignatureCoapType

id of CoAP option to send ECDSA payload signature or null if payload signature should not be sent