Skip to main content

TypeAlias.AuthUser

type AuthUser = {
birthDate?: string | null;
createdAt: string;
email: string;
emailVerified: boolean;
id: string;
image?: string | null;
name: string;
phoneNumber?: string | null;
phoneNumberVerified?: boolean | null;
updatedAt: string;
};

Authenticated user profile.

Contains user identification, contact information, and verification status. Returned by authentication endpoints and embedded in account data.

Type Declaration

NameType
birthDate?string | null
createdAtstring
emailstring
emailVerifiedboolean
idstring
image?string | null
namestring
phoneNumber?string | null
phoneNumberVerified?boolean | null
updatedAtstring