method
authenticate
![Some documentation Importance_1](https://d2vfyqvduarcvs.cloudfront.net/images/importance_1.png?1349367920)
authenticate(req, res)
public
Authenticates a req and returns a 401 Unauthorized using res if the authentication was not correct.
authenticate(req, res)
public
Authenticates a req and returns a 401 Unauthorized using res if the authentication was not correct.