You can remove the current device from being a trusted device.
In the future, you can also revoke other trusted devices from any trusted device.
To remove the current device from being a trusted device, do the following:
TrustedDeviceHelper.removeDevice(this, new Callback() {@Overridepublic void onSuccess(JSONObject result) {Toast.makeText(getApplicationContext(), result.toString(), Toast.LENGTH_SHORT).show();}@Overridepublic void onError(String error) {Toast.makeText(getApplicationContext(), error, Toast.LENGTH_SHORT).show();}});
You cannot remove the last Trusted Device. You will need to have 1 remaining Trusted Device.