Interface DeviceInformationCheck

All Superinterfaces:
HttpOperation<DeviceInformationCheck>, Operation

public interface DeviceInformationCheck extends HttpOperation<DeviceInformationCheck>
The operation retrieving the mismatches that exist between the configuration in the server and in the mobile device application.

The configuration mismatches can be fixed by providing them to the DeviceInformationSync operation.

Example:

 private void retrieveDeviceInformationMismatches(Operations operations) {
     operations.deviceInformationCheck()
         .onResult(checkResult -> {
             // handle the retrieved mismatches. They can be fixed by
             // running a DeviceInformationSync operation.
         })
         .execute();
 }
 

This is supported only with FIDO UAF registrations made against a backend with nevisFIDO 7.2408.** or later. With registrations made with earlier versions of nevisFIDO, this operation can return DeviceInformationMismatch.MissingAuthenticatorInServer false positives, that is, it can report mismatches, when the credentials of backend and server are in sync).

This interface is experimental and can change in the future without notice.

See Also:
  • Method Details

    • onResult

      Specifies the object that will be invoked with the DeviceInformationCheckResult containing the configuration mismatches an errors (if any) that occurred. This object will be invoked in the main/UI thread.

      Providing the object handling the DeviceInformationCheckResult is required.

      WARNING:The information returned in DeviceInformationCheckResult is only reliable for registrations done using the Authentication Mobile SDK 3.8.0 or later. If your application has been upgraded from previous versions of the SDK and thus some users were registered using earlier versions, some false positive DeviceInformationMismatch.MissingAuthenticatorInServer mismatches can be returned for those users.

      Parameters:
      resultConsumer - the consumer of an DeviceInformationCheckResult
      Returns:
      an DeviceInformationCheck