Interface DeviceInformationCheck
- All Superinterfaces:
HttpOperation<DeviceInformationCheck>
,Operation
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.
-
Method Summary
Modifier and TypeMethodDescriptiononResult
(Consumer<DeviceInformationCheckResult> resultConsumer) Specifies the object that will be invoked with theDeviceInformationCheckResult
containing the configuration mismatches an errors (if any) that occurred.Methods inherited from interface ch.nevis.mobile.sdk.api.operation.HttpOperation
requestHeaders
-
Method Details
-
onResult
Specifies the object that will be invoked with theDeviceInformationCheckResult
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 positiveDeviceInformationMismatch.MissingAuthenticatorInServer
mismatches can be returned for those users.- Parameters:
resultConsumer
- the consumer of anDeviceInformationCheckResult
- Returns:
- an
DeviceInformationCheck
-