waygraph / Account
Interface: Account
Defined in: src/engine/flow/account.ts:15
A person the app knows: a name, the flow that signs them in, and who they are (their data in mem).
Properties
mem?
readonlyoptionalmem?: (mem) =>void
Defined in: src/engine/flow/account.ts:19
Sets the person's own data (their email, their credentials) in mem, right before they sign in.
Parameters
mem
Returns
void
name
readonlyname:string
Defined in: src/engine/flow/account.ts:16
signIn
readonlysignIn:Flow<Checkpoint<string>>
Defined in: src/engine/flow/account.ts:17
ttlMs?
readonlyoptionalttlMs?:number
Defined in: src/engine/flow/account.ts:21
How long a session stays signed in, ms: older, the account signs in again. Undefined: as long as the process.