User Subdomain Model
User context
Details
Name and Surname
constraints:
- \(value\) must have almost 4 letters.
- \(value\) can't have more than 100 letters.
Username
constraints:
- \(value\) must have almost 4 letters.
- \(value\) matches
^[A-Za-z][A-Za-z0-9]*(_[A-Za-z0-9]{2,}){0,3}$
Auth context
Details
Username
constraints:
- \(value\) must have almost 4 letters.
- \(value\) matches
^[A-Za-z][A-Za-z0-9]*(_[A-Za-z0-9]{2,}){0,3}$
constraints:
- \(value\) must respect regex for email.
Password Hash
constraints:
- \(password\) must not be empty.
- \(password\) must have almost 8 characters.
Domain Events
- Account Registered: emitted when an account is registered to the system.
- Account Unregistered: emitted when an account is removed from the system.
Last update:
February 10, 2022 12:33:31
Created: February 9, 2022 11:57:27
Created: February 9, 2022 11:57:27
Authors: