UsersModule

users. UsersModule

Module which handles user management

Constructor

new UsersModule()

Source:

Extends

  • AbstractApiModule

Methods

(async) find()

Source:

(async) init() → {Promise}

Source:
Initialises the module
Returns:
Type
Promise

(async) insert()

Source:

(async) onRequest(req)

Source:
Adds the current user _id to an incoming request to API
Parameters:
Name Type Description
req external:ExpressRequest

(async) processRequestMiddleware()

Source:

(async) setValues()

Source:

updateAccess(req, res, next)

Source:
Updates the user access timestamp
Parameters:
Name Type Description
req external:ExpressRequest
res external:ExpressResponse
next function