Authenticate
METHOD NAME authenticate
This method doesn't require authentication.
Description
This completes the authentication process that started with a call to pair by providing the displayed OTP and returning apiKey to use in the appropriate header to authenticate each method call.
Requires state
PAIRINGand on success moves toIDLE
Parameters
object
otpstringREQUIRED
Displayed OTP (Length 6)
Result
object on success
apiKeystring
Generated key to attach to each request header
Errors
MissingParamsInvalidParamson incorrect OTPIllegalState