You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One clarification: there's no need for making session model/service/whatever user-model-aware. Two reasons:
There are lots of applications where having a session instance doesn't imply having a user model instance specified. Maybe there's no user model at all.
It seems quite opposite dependency. There is some kind of authentication service that depends on Session component (how about client-side "sessions", even if they are security anti-pattern?), that reads some value from the session and interprets it as an identifier for user repository to get an instance. This seems to be The Clean Architecture way.
lhaze
changed the title
Domain: Session pattern
Domain: Session service
Mar 15, 2019
ISession
interfaceSession
API:set_expiry/get_expiry/flush
)information about the user (ISessionWithUser
)The text was updated successfully, but these errors were encountered: