Previous Topic: Device LockingNext Topic: API Details


Device Locking Using Non-Default Parameters

To lock an account to a device by using attributes other than the default attributes supported by ArcotID OTP SDK:

  1. Implement the getKey() method in the DeviceLock interface.

    The getKey() method returns the unique identifier of the device that you have requested.

  2. Invoke the setDeviceLock() method in the OTP class.

    The setDeviceLock() method locks the account to the device by using the parameters that are fetched by the getKey() method.