Skip to content
rw3iss Auth

User

User

Defined in: dto/user.ts:15

A user as returned by /auth/me, /auth/login, /auth/sso/exchange.

Properties

display_name?

optional display_name?: string

Defined in: dto/user.ts:20


email

email: string

Defined in: dto/user.ts:17


email_verified

email_verified: boolean

Defined in: dto/user.ts:28


first_name?

optional first_name?: string

Defined in: dto/user.ts:18


id

id: string

Defined in: dto/user.ts:16


last_name?

optional last_name?: string

Defined in: dto/user.ts:19


phone?

optional phone?: string

Defined in: dto/user.ts:24

Optional phone number. The Go auth-server emits this as phone (omitempty) on the User DTO; clients render it as contact info on the profile screen.


phone_verified?

optional phone_verified?: boolean

Defined in: dto/user.ts:27

True when the phone number has been verified via the out-of-band code flow.


status

status: string

Defined in: dto/user.ts:31


two_factor_confirmed_at?

optional two_factor_confirmed_at?: string

Defined in: dto/user.ts:30


two_factor_enabled

two_factor_enabled: boolean

Defined in: dto/user.ts:29