authentication-controller

Methods

(inner) login(req, res, next)

Source:
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)

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

HTTP request

res module:api-controller~ExpressResponse

HTTP response

(inner) setToken(req, res)

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

HTTP request

res module:api-controller~ExpressResponse

HTTP response