You can bypass Google verification on an Android device when you've forgotten your login information. The steps you need will depend on your device.
You can find your Google Classroom code on your course's class card on the desktop website or mobile app.