Package com.iizix.device
Enum Class AutoSignInPermission
- All Implemented Interfaces:
- Serializable,- Comparable<AutoSignInPermission>,- Constable
Auto-sign in permission values. The lower the value, the tougher authentication requirements for a returning user.
- Author:
- Christopher Mindus
- Nested Class Summary- Nested classes/interfaces inherited from class java.lang.Enum- Enum.EnumDesc<E extends Enum<E>>
- Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionAuto-sign in is allowed regardless of biometric authentication support on client device.Auto-sign is allowed only when biometric authentication is supported on the client device using fingerprint or facial recognition (Fingerprint Unlock or Face Unlock for Android, Touch ID or Face ID for Apple clients).Auto-sign in is not allowed.
- Method SummaryModifier and TypeMethodDescription- boolean- isStronger- (AutoSignInPermission other) Checks if the current sign-in permission is tougher or stronger than the one specified as the- otherparameter.- static AutoSignInPermissionReturns the enum constant of this class with the specified name.- static AutoSignInPermission[]- values()Returns an array containing the constants of this enum class, in the order they are declared.
- Enum Constant Details- NOT_ALLOWEDAuto-sign in is not allowed.
- BIOMETRICAuto-sign is allowed only when biometric authentication is supported on the client device using fingerprint or facial recognition (Fingerprint Unlock or Face Unlock for Android, Touch ID or Face ID for Apple clients).
- ALLOWEDAuto-sign in is allowed regardless of biometric authentication support on client device.
 
- Method Details- valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- isStrongerChecks if the current sign-in permission is tougher or stronger than the one specified as the- otherparameter.- Parameters:
- other- The other auto-sign in permission.
- Returns:
- trueif the current instance of the auto-sign in permission is tougher or stronger than the- other,- falseotherwise (or same permissions).