mfaService->getTrustedDevices($request->user()); return $this->success(TrustedDeviceResource::collection($devices)); } public function destroy(Request $request, string $device): JsonResponse { $this->mfaService->revokeDevice($request->user(), $device); return response()->json(null, 204); } public function destroyAll(Request $request): JsonResponse { $this->mfaService->revokeAllDevices($request->user()); return response()->json(null, 204); } }