Function verifyWRDAPIUser
Parameters
- req: OpenAPIRequest
Received request
Returns Promise<OpenAPIAuthorization<AuthorizedWRDAPIUser>>
- Result of the authentication. If authorized, the result contains the WRD schema and user ID
- req: OpenAPIRequest
Received request
Verify whether the current API call was done by a proper WRD user. Use or wrap this function to perform additional user/scope checks