Ask yourself will you ever authenticate anything other than a User?
If yes, and if there will some commonality between the code to authenticate a User and that/those Other things then an Authenticate class maybe useful.
Otherwise, just add authentication method(s) to the User and Other classes.
In reply to Re: The division of (class) labor in OOP
by BrowserUk
in thread The division of (class) labor in OOP
by jeyroz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |