user-service
    Preparing search index...

    Service interface for managing users.

    Implements

    Index

    Constructors

    Methods

    • Creates a new household user with the given username and password.

      Parameters

      • username: string

        The username of the new user.

      • password: string

        The password of the new user.

      Returns Promise<User>

      A promise that resolves to the newly created user.

    • Resets the admin's password using a valid reset code.

      Parameters

      • resetCode: string

        The reset code issued for password recovery.

      • password: string

        The new password to assign to the admin.

      Returns Promise<User>

      A promise that resolves to the updated admin user.