authenticate secrets
authentication function
which field to get the followerId and followerType from context
injected logger used to handle the logging
request context [headers, body, params, query].
200 Status Ok
This validator is used to authenticate followerId by applying the following steps in sequence:
Authenticate the user token (authenticate)
Get the followerId and followerType from the context
Check if the followerType is user
Check if the followerId is the same as the authenticated user id
401 NBError Unauthorized
403 NBError Forbidden
Generated using TypeDoc
Authenticate followerId validator