Previous Topic: ExceptionNext Topic: API Details


Synchronizing the Client and Server

The ArcotID OTP account details on the client must be in synchronization with the server. Otherwise, authentication will fail. If the account details are not in synchronization, then use the syncRequest() method in the Account class to re-synchronize them. The syncRequest() method is used to construct and send a synchronization request for fetching the OTP counter or timestamp synchronization value from the server. If the request is successful, the client receives the success status in the callback() method.