The resources responsible for user auth
Calls the API to get a user token which is then saved in the config
/**
* @param {object} params
* @param {function} callback optional
*/
netField.generateUserToken(params, [callback])
Verify token if it's valid
/**
* @param {function} callback optional
*/
netField.verifyUserToken([callback])
Revoke token (logout)
/**
* @param {function} callback optional
*/
netField.revokeUserToken([callback])
Send email with password reset token
/**
* @param {string} email
* @param {function} callback optional
*/
netField.auth.resetPassword(email, [callback])
Set new user password
/**
* @param {object} params
* @param {function} callback optional
*/
netField.auth.setPassword(params, [callback])