Skip to main content
Version: 2.0.0

Type alias: User

Ƭ User: Object

This interface represents a user. It has 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/types/user.ts:11

Enterprise or start-up?

Learn how to get the most out of your project with the help of our consulting team.
Learn more
Sign up to our newsletter to get the latest news and updates. No spam!