Methods
(inner) login(req, res, next)
Parameters:
Name | Type | Description |
---|---|---|
req |
module:api-controller~ExpressRequest | HTTP request |
res |
module:api-controller~ExpressResponse | HTTP response |
next |
function | Express callback |
(inner) logout(req, res)
Parameters:
Name | Type | Description |
---|---|---|
req |
module:api-controller~ExpressRequest | HTTP request |
res |
module:api-controller~ExpressResponse | HTTP response |
(inner) setToken(req, res)
Parameters:
Name | Type | Description |
---|---|---|
req |
module:api-controller~ExpressRequest | HTTP request |
res |
module:api-controller~ExpressResponse | HTTP response |