public static enum DeviceFingerprintSource.Type extends java.lang.Enum<DeviceFingerprintSource.Type>
Enum Constant and Description |
---|
SERVICE
Deprecated.
Since Ezio Mobile SDK v4.9.2 this type is deprecated.
For new token created, if this type is used then it will be ignored.
For old token, this type will still be used only for the migration.
|
SOFT
Seals the user's credentials with the Settings.Secure.ANDROID_ID of
the device.
|
Modifier and Type | Method and Description |
---|---|
static DeviceFingerprintSource.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeviceFingerprintSource.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceFingerprintSource.Type SERVICE
Any change of the SIM card will make the credentials unusable.
Requirements:
Warning: This device fingerprint source may be unavailable when devices are on flight/airplane mode. The cellular network status may also affect the availability of this source when some SIM cards inserted on some devices. User is recommended to check the service status (flight/airplane mode ON/OFF, recognizable SIM card inserted, etc) before provisioning once decided to apply this anti-cloning.
Warning: A token's credentials sealed with this type will no longer work as expected if the user alters the state of the SIM card that was used when the token was provisioned. Depending on the token's configuration during provisioning, it will either generate a DeviceFingerprintException or an OTP that cannot be authenticated. The following conditions are known to alter the state of the SIM card:
public static final DeviceFingerprintSource.Type SOFT
A factory reset / initialization of the device will make the credentials unusable.
Requirements:
Warning: If Type.SOFT is used, user cannot use the restored data after doing a factory reset and re-initializing to the same device. Likewise the user cannot backup the app and restore it on a different device.
public static DeviceFingerprintSource.Type[] values()
for (DeviceFingerprintSource.Type c : DeviceFingerprintSource.Type.values()) System.out.println(c);
public static DeviceFingerprintSource.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null