Closed ProgramCpp closed 7 years ago
Can send customized response objects for other authentication failures.
say, for invalid password,
callback(false,null,httpStatus.e403); // custom json response object
for invalid token, the third param needs user in case of success and thus cannot send a custom failure response.
Closed via https://github.com/deitch/cansecurity/pull/17
Can send customized response objects for other authentication failures.
say, for invalid password,
for invalid token, the third param needs user in case of success and thus cannot send a custom failure response.