요청 내용
“Create a UML class diagram for user registration and login with an IAuthenticable interface, AbstractUser, RegisteredUser, credentials, sessions and an authentication service.”
그렇다면Add password reset tokens.Add an email verification field to RegisteredUser.
이 도면에 담긴 내용
그 이면의 의사결정을 읽어 보세요.
01
Use composition for session ownership
02
Dependency injection for service classes
When modeling object-oriented authentication systems with interfaces and abstract base classes.