At the core of many apps, there is a notion of user accounts that lets users access their information in a secure manner. We provide a specialized user class called
Moralis.User that automatically handles much of the functionality required for user account management.
With this class, you'll be able to add user account functionality to your app.
Moralis.User is a subclass of
Moralis.Object, and has all the same features, such as flexible schema, automatic persistence, and a key-value interface. All the methods that are on
Moralis.Object also exist in
Moralis.User. The difference is that
Moralis.User has some special additions specific to user accounts.
Authentication of users can be done in different ways. You can authenticate via an email login or let users log in via a crypto wallet.