Class: UserFactory

classes~UserFactory()

Class representing a user factory.

Constructor

new UserFactory()

Source:

Methods

(async) create() → {Promise:.<User:>}

Create the user.
Source:
Returns:
The user object.
Type
Promise:.<User:>

load()

Load a term from a database object.
Source:

setAccountIdentifier()

Set the account identifier of the user.
Source:

setAuthMethod()

Set the auth method of the user.
Source:

setAuthToken()

Set the auth token of the user.
Source:

setCreatedAt()

Set the created at of the user.
Source:

setId()

Set the id of the user.
Source:

setName()

Set the name of the user.
Source: