Skip to main content

Type Alias: EmailAuthUser

EmailAuthUser = object

Defined in: auth-core/src/emailAuthTypes.ts:40

The application's user record, as far as this engine is concerned. Anything else on the row (name, locale, …) is the application's business and is carried through untouched by hooks and issueSession.

Indexable

[key: string]: unknown

Properties

email

email: string

Defined in: auth-core/src/emailAuthTypes.ts:42


emailVerified?

optional emailVerified?: boolean

Defined in: auth-core/src/emailAuthTypes.ts:48


id

id: string

Defined in: auth-core/src/emailAuthTypes.ts:41


passwordHash?

optional passwordHash?: string | null

Defined in: auth-core/src/emailAuthTypes.ts:47

The stored password hash, or null for a user who has only ever signed in with a link or a code. Never the plain password.