Instantiate the authenticator with an user collection
Auth handler that will fail if a successfull auth was not performed. This handler is usefull for routes that want to hide information to the public.
Auth handler that will fail if a successfull auth was not performed. This handler is usefull for routes that want to hide information to the public.
Auth handler that fails only if the auth fields are present and are not valid. This handler is usefull when a route should return different data when the user is logged in
Auth handler that fails only if the auth fields are present and are not valid. This handler is usefull when a route should return different data when the user is logged in
Set the response code and message to notify the client that there were a problem with the request
Set the response code and message to notify the client that it does not have rights to make the request
Base class for using authentication with vibe requests