Skip to main content
Version: 2.0.0-alpha

Type alias: User

Ƭ User: Object

This interface represents a user. It has the some of the same fields as a Firebase User. Note that in the default implementation, we simply take the Firebase user and use it as a FireCMS user, so that means that even if they are not mapped in this interface, it contains all the methods of the former, such as delete, getIdToken, etc.

Type declaration

NameTypeDescription
displayNamestring | nullThe display name of the user.
emailstring | nullThe email of the user.
isAnonymousboolean
photoURLstring | nullThe profile photo URL of the user.
providerIdstringThe provider used to authenticate the user.
uidstringThe user's unique ID, scoped to the project.

Defined in

lib/src/models/user.ts:16