Function verifyWRDAPIUser
Parameters
- req: RestRequest
Received request
Returns Promise<RestAuthorizationResult<AuthorizedWRDAPIUser>>
- Result of the authentication. If authorized, the result contains the WRD schema and user ID
- req: RestRequest
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