Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Confirms tracking of the device. This API call is the call that beings device tracking.
- confirmDevice :: Text -> Text -> ConfirmDevice
- data ConfirmDevice
- cdDeviceSecretVerifierConfig :: Lens' ConfirmDevice (Maybe DeviceSecretVerifierConfigType)
- cdDeviceName :: Lens' ConfirmDevice (Maybe Text)
- cdAccessToken :: Lens' ConfirmDevice Text
- cdDeviceKey :: Lens' ConfirmDevice Text
- confirmDeviceResponse :: Int -> ConfirmDeviceResponse
- data ConfirmDeviceResponse
- cdrsUserConfirmationNecessary :: Lens' ConfirmDeviceResponse (Maybe Bool)
- cdrsResponseStatus :: Lens' ConfirmDeviceResponse Int
Creating a Request
Creates a value of ConfirmDevice
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ConfirmDevice Source #
Confirms the device request.
See: confirmDevice
smart constructor.
Request Lenses
cdDeviceSecretVerifierConfig :: Lens' ConfirmDevice (Maybe DeviceSecretVerifierConfigType) Source #
The configuration of the device secret verifier.
cdDeviceName :: Lens' ConfirmDevice (Maybe Text) Source #
The device name.
cdAccessToken :: Lens' ConfirmDevice Text Source #
The access token.
cdDeviceKey :: Lens' ConfirmDevice Text Source #
The device key.
Destructuring the Response
confirmDeviceResponse Source #
Creates a value of ConfirmDeviceResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ConfirmDeviceResponse Source #
Confirms the device response.
See: confirmDeviceResponse
smart constructor.
Response Lenses
cdrsUserConfirmationNecessary :: Lens' ConfirmDeviceResponse (Maybe Bool) Source #
Indicates whether the user confirmation is necessary to confirm the device response.
cdrsResponseStatus :: Lens' ConfirmDeviceResponse Int Source #
The response status code.