Skip to content
rw3iss Auth

LookupUserRecord

LookupUserRecord

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

Wire-shape user record returned by POST /admin/users/lookup. Mirrors the auth-server’s user DTO — snake_case preserved so SDK callers can pass through to UI / external systems without remapping.

Soft-deleted users are excluded server-side.

Properties

auth_provider?

optional auth_provider?: string

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


created_at?

optional created_at?: string

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

RFC 3339 / ISO 8601 timestamp.


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?

optional 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


roles?

optional roles?: UserRoleSummary[]

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

Base roles assigned to this user. Populated by GET /admin/users on server builds that include the per-user role aggregation. Older server builds omit this field; consumers should treat undefined as “roles unknown” rather than “no roles”.


status?

optional status?: string

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