Interface FidoUafAttestationInformationGetter
- All Superinterfaces:
Operation
The object that can be used to obtain the information regarding the support of
Full Basic Attestation
in this device. If full basic attestation is required by the backend during registration, and this
device does not support it, registration will fail. This information can be used to preemptively
inform the user that the device is not supported.
This interface is only useful when your backend is configured to require full basic attestation during registration.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
Executes asynchronously this getter to obtain theFidoUafAttestationInformation
.onError
(Consumer<FidoUafAttestationInformationError> errorConsumer) The object invoked when an error occurs after invokingexecute()
.onSuccess
(Consumer<FidoUafAttestationInformation> attestationInformationConsumer) Specifies the object that will be invoked if the FIDO UAF attestation information could be obtained.
-
Method Details
-
onSuccess
@NonNull FidoUafAttestationInformationGetter onSuccess(@NonNull Consumer<FidoUafAttestationInformation> attestationInformationConsumer) Specifies the object that will be invoked if the FIDO UAF attestation information could be obtained. The specified object will receive aFidoUafAttestationInformation
. This object will be invoked in the main/UI thread.Providing the object handling the
FidoUafAttestationInformation
is required.- Parameters:
attestationInformationConsumer
- the object receiving the FIDO UAF attestation information.- Returns:
- a
FidoUafAttestationInformationGetter
-
onError
@NonNull FidoUafAttestationInformationGetter onError(@NonNull Consumer<FidoUafAttestationInformationError> errorConsumer) The object invoked when an error occurs after invokingexecute()
. This object will be invoked in the main/UI thread.Providing the object handling the error is required.
- Parameters:
errorConsumer
- the object handling the error- Returns:
- a
FidoUafAttestationInformationGetter
-
execute
void execute()Executes asynchronously this getter to obtain theFidoUafAttestationInformation
.
-