Skip to main content

Interface: User

Properties#

displayName#

Readonly displayName: null | string

The display name of the user.

Defined in#

models/user.ts:13


email#

Readonly email: null | string

The email of the user.

Defined in#

models/user.ts:17


isAnonymous#

Readonly isAnonymous: boolean

Defined in#

models/user.ts:41


metadata#

Readonly metadata: any

Additional metadata around user creation and sign-in times.

Defined in#

models/user.ts:45


phoneNumber#

Readonly phoneNumber: null | string

The phone number normalized based on the E.164 standard (e.g. +16505550101) for the user.

remarks This is null if the user has no phone credential linked to the account.

Defined in#

models/user.ts:25


photoURL#

Readonly photoURL: null | string

The profile photo URL of the user.

Defined in#

models/user.ts:29


providerData#

Readonly providerData: any

Additional per provider such as displayName and profile information.

Defined in#

models/user.ts:49


providerId#

Readonly providerId: string

The provider used to authenticate the user.

Defined in#

models/user.ts:33


uid#

Readonly uid: string

The user's unique ID, scoped to the project.

Defined in#

models/user.ts:37