global.waterlock
, which can be used to access various methods/properties to allow you to extend and modify waterlock on the fly. The rest of the api calls in this document are accessible through this global instance. E.g. global.waterlock.cycle
Type: Object
express request object
Type: Object
expresss response object
Type: Object
the user instance
Type: Object
express request object
Type: Object
expresss response object
Type: Object
the user instance
Type: Object
or String
the error that caused the failure
Type: Object
express request object
Type: Object
expresss response object
Type: Object
or String
should be id to find the auth by
Type: Function
(String
err, Object
user)
function to be called when the auth has been found or an error has occurred
Type: Object
or String
should be id to find the auth by
Type: Object
auth attributes
Type: Function
(String
err, Object
user)
function to be called when the auth has been found or an error has occurred
Type: Object
auth attributes
Type: Object
user instance
Type: Function
(String
err, Object
user)
function to be called when the auth has been attached or an error has occurred
Type: Object
express request object
return: Object
all params