Package com.ericbouchut.learndev.auth
package com.ericbouchut.learndev.auth
-
ClassesClassDescriptionWeb endpoints for authentication pages: home and login views, and the registration form (display and submission).Web endpoints of the email verification flow: the emailed link lands on
GET /auth/verify(public, like the whole/authprefix), and a logged-in user can ask for a fresh link from the dashboard banner.Sends the email-verification message.Email verification: proves the registered address belongs to the user.Account lockout: counts consecutive failed logins per account and locks the account at the configured threshold (learndev.lockout.max-attempts).Web endpoints for the password-reset flow: the "forgot password" request page and the "reset password" page that consumes the emailed token.Sends the password-reset email.The password-reset ("forgot password") flow.Creates new user accounts: enforces unique username and email, hashes the password, and assigns the defaultSTUDENTrole.