authentication secrets
authentication function
injected service use to handle the organization related operations
which field to get the orgId from context
injected logger used to handle the logging
request context [headers, body, params, query]. Note:
params
is required200 Status OK
This validator will check if the user belongs to the organization by applying the following steps in sequence:
Get orgId from context
Check if orgId exists
Check if the user belongs to the organization
400 NBError Bad Request
403 NBError Forbidden
Generated using TypeDoc
Does user belong to organization validator