authentication secrets
injected function use to authenticate the user token
target field to get the user id
injected logger used to handle the logging
request context [headers, body, params, query].
200 Status OK
This validator is used to check if the user id is same to request user id by applying the following steps in sequence:
Get the userId from context
Authenticate the request
Check if the user id is same to request user id
Return the status code
400 NBError Bad Request
401 NBError Unauthorized
403 NBError Forbidden
Generated using TypeDoc
Is user id same to request user validator