Scale Intelligence■ Docs
Docs / The model / Session

Session.

One open sign-in of a user through a client

Figure 1Sessionspecified
SESSIONwork at user scopeuseridclientidbegan_attimestrengthenum:password|passkey|second factorends_attimeended_byCalleroptionalCALLERthrough ended_by
Session is a work at user scope. The drawing shows its fields and the objects that they point at.
kind
work
scope
user
key
the user, the client and when it began
store
postgres
family
people

Fields#

fieldtyperequirednote
useridyes
clientidyes
began_attimeyes
strengthone of password | passkey | second factoryes
ends_attimeyes
ended_byCallerno

Routes that use it#

No route takes or returns Session directly. The record holds it, and the objects that point at it reach it.