Constructor
new UsersModule()
- Source:
Extends
Methods
(async) find()
- Source:
(async) init() → {Promise}
- Description:
- Source:
Returns:
-
Type
-
Promise
(async) insert()
- Source:
(async) onRequest(req)
- Description:
- Adds the current user _id to an incoming request to API
- Source:
Parameters:
Name |
Type |
Description |
req |
external:ExpressRequest
|
|
(async) processRequestMiddleware()
- Source:
(async) setValues()
- Source:
updateAccess(req, res, next)
- Description:
- Updates the user access timestamp
- Source:
Parameters:
Name |
Type |
Description |
req |
external:ExpressRequest
|
|
res |
external:ExpressResponse
|
|
next |
function
|
|