Adds a variant `_check_credentials_for_uid()` for auth_totp.device's `_check_credentials()`. The new method will directly verify the device key matches the given uid. This spares the redundant uid comparison on the caller side, and allows extension modules to customise the user/device matching logic. closes odoo/odoo#94365 X-original-commit: 0e266eb3c73409950d1eb160c41eb6668d439856 Signed-off-by: Olivier Dony <odo@odoo.com>