Skip to content
rw3iss Auth

User

User

Defined in: @rw3iss/auth-shared/src/dto/user.ts

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

Properties

display_name?

optional display_name?: string

Defined in: @rw3iss/auth-shared/src/dto/user.ts


email

email: string

Defined in: @rw3iss/auth-shared/src/dto/user.ts


email_verified

email_verified: boolean

Defined in: @rw3iss/auth-shared/src/dto/user.ts


first_name?

optional first_name?: string

Defined in: @rw3iss/auth-shared/src/dto/user.ts


id

id: string

Defined in: @rw3iss/auth-shared/src/dto/user.ts


last_name?

optional last_name?: string

Defined in: @rw3iss/auth-shared/src/dto/user.ts


phone?

optional phone?: string

Defined in: @rw3iss/auth-shared/src/dto/user.ts

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: @rw3iss/auth-shared/src/dto/user.ts

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


status

status: string

Defined in: @rw3iss/auth-shared/src/dto/user.ts


two_factor_confirmed_at?

optional two_factor_confirmed_at?: string

Defined in: @rw3iss/auth-shared/src/dto/user.ts


two_factor_enabled

two_factor_enabled: boolean

Defined in: @rw3iss/auth-shared/src/dto/user.ts