InitializationError class abstract

Collection of MobileAuthenticationClient initialization error codes.

Inheritance

Constructors

InitializationError.deviceProtectionError(Map<String, dynamic> json)
An error that indicates that some form of tampering was found in the application.
factory
InitializationError.fromJson(Map<String, dynamic> json)
Alternate constructor that creates an InitializationError from a json.
factory
InitializationError.hardwareError(Map<String, dynamic> json)
Secure hardware is not available on this device or an error occurred checking the hardware of the device.
factory
InitializationError.lockScreenHasChangedError(Map<String, dynamic> json)
User has changed the lock screen configuration of the device and the credentials were created using an SDK previous to 1.7.
factory
InitializationError.noDeviceLockError(Map<String, dynamic> json)
An error that indicates that the device has no secure lock screen.
factory
InitializationError.rootedError(Map<String, dynamic> json)
An error that indicates that the device is rooted.
factory
InitializationError.unknown(Map<String, dynamic> json)
Unknown error, handling not categorized error cases.
factory

Properties

cause String?
The exception (if any) that caused this error.
no setterinherited
description String
Provides details about the error that occurred.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fromJson(Map<String, dynamic> json) → dynamic
Returns a value of the type you specify, deserialized from a JSON object.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns a JSON-encoded representation of the value you supply.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited