FidoUafAttestationInformationGetter class abstract
The object that can be used to obtain the information regarding the support of Full Basic Attestation in this device.
IMPORTANT
This operation is Android specific. On iOS the onSuccess will be invoked with
null
FIDO UAF attestation information.
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.
Usage example:
Future<void> getAttestationInformation({
required MobileAuthenticationClient client,
}) async {
await client.deviceCapabilities
.androidDeviceCapabilities
.fidoUafAttestationInformationGetter
.onSuccess((FidoUafAttestationInformation? info) {
// handle success
})
.onError((error) {
// handle error
})
.execute();
}
See AndroidDeviceCapabilities.fidoUafAttestationInformationGetter
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
execute(
) → Future< void> -
Executes the operation asynchronously.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onError(
dynamic onError(FidoUafAttestationInformationError)) → FidoUafAttestationInformationGetter - Specifies the object that will be invoked if the FIDO UAF attestation information could not be obtained.
-
onSuccess(
dynamic onSuccess(FidoUafAttestationInformation?)) → FidoUafAttestationInformationGetter - Specifies the object that will be invoked if the FIDO UAF attestation information could be obtained. The specified object will receive a FidoUafAttestationInformation.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited