– Many educational institutions purchase institutional access to Oxford’s graded reader collections for their students.
If your teacher scanned a purchased copy and shared it with the entire class via a closed Learning Management System (like Google Classroom) only for the duration of the course, some schools have "educational exemptions." However, if the teacher posted it to a public website, it is illegal.