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;
preferredLocale?: "en-US" | "fr-FR" | "es-ES" | "it-IT" | 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
createdAtstring
emailstring
emailVerifiedboolean
idstring
image?string
namestring
phoneNumber?string
phoneNumberVerified?boolean
preferredLocale?"en-US"
updatedAtstring