Authentication
The authentication domain represents errors related to the authentication.
- iOS (Swift)
- Android (Java)
public enum AuthenticationDomainCode {
case wrongCredential // will also be returned in case the biometric authentication changes (ex: add new fingerprint/face)
case cooldown(until: Date)
case biometricTokenExpired
case newPINCannotMatchTheOld
case PINDoesNotMatchRequirements
case biometricAuthenticationNotEnabled
}
public enum AuthenticationDomainCode {
WRONG_CREDENTIAL,
COOLDOWN,
BIOMETRIC_TOKEN_EXPIRED,
NEW_PIN_CANNOT_MATCH_THE_OLD,
PIN_DOES_NOT_MATCH_REQUIREMENTS,
BIOMETRIC_AUTHENTICATION_NOT_ENABLED,
BIOMETRIC_AUTHENTICATION_FAILED,
BIOMETRIC_AUTHENTICATION_ERROR,
BIOMETRIC_AUTHENTICATION_CANCEL,
BIOMETRIC_AUTHENTICATION_LOCKED,
BIOMETRIC_AUTHENTICATION_KEY_PERMANENT_INVALIDATED,
BIOMETRIC_AUTHENTICATION_NOT_SUPPORTED;
}