Functions for handling 3rd party service provider requests
- Source
 
Methods
(async, inner) provider(req, res) → {Promise}
The provider method looks up a provider module method matching the provider request parameter and passes the req/res objects as argument to the matched method.
The response from the method is returned with the HTTP response.
Parameters:
| Name | Type | Description | 
|---|---|---|
req | req | HTTP request.  | 
res | Object | HTTP response.  | 
req.params | Object | Request parameter.  | 
params.signer | string | Provider module to handle the request.  | 
- Source
 
Returns:
The promise resolves into the response from the provider modules method.
- Type:
 - Promise