injected API to handle the authentication related operations
injected service use to handle the user related operations
injected logger used to handle the logging
request context [headers, body, params, query].
204 Status No Content
This handler will verify email by applying the following steps in sequence:
Get token from context.headers
Verify token (authAPI.checkToken)
Get the email from the token aswell as the userId from token
Update the user's email & emailVerified to true (userService.updateUser)
403 NBError Forbidden
Generated using TypeDoc
Verify change email handler