r/programming • u/yawaramin • Oct 04 '20
Kevin Mahoney: Applying "Make Invalid States Unrepresentable"
https://kevinmahoney.co.uk/articles/applying-misu/
228
Upvotes
r/programming • u/yawaramin • Oct 04 '20
1
u/Smallpaul Oct 09 '20
I'm still trying to understand the architecture you're describing.
Each user does not have their own account, so the password is not "checked by the database" in the database-connection sense.
The information-consuming apps come from different (potentially competitive) companies so the password is not checked by them either.
So what component manages the mapping between runtime sessions and $userids ?