Method auth
Determines what authentication is valid (if any), and applies it to the request
Parameters:
req must be an Object.(Request Object)
res must be an Object.(Response Object)
host must be a String.(Virtual host)
next must be a Function.(Function to execute after applying optional authenication wrapper)
Returns an Object(TurtleIO instance)
No authentication
Basic
Method auth
Determines what authentication is valid (if any), and applies it to the request
Parameters:
req must be an Object.
(Request Object)
res must be an Object.
(Response Object)
host must be a String.
(Virtual host)
next must be a Function.
(Function to execute after applying optional authenication wrapper)
Returns an Object
(TurtleIO instance)