I have class named User, it has fields like username, password, firstName... . is it good to place authenticate(username, password) method in it?
User
authenticate(username, password)
Aucun commentaire:
Enregistrer un commentaire