authentication-controller

Methods

(inner) login(req, res, next)

Source:
Parameters:
Name Type Description
req module:api-controller~ExpressRequest
res module:api-controller~ExpressResponse
next function

Express callback

(inner) logout(req, res)

Source:
Parameters:
Name Type Description
req module:api-controller~ExpressRequest
res module:api-controller~ExpressResponse

(inner) setToken(req, res)

Source:
Parameters:
Name Type Description
req module:api-controller~ExpressRequest
res module:api-controller~ExpressResponse