Feature Request
Describe your use case and the problem you are facing
Allow for custom authentication mechanisms to be used for REST API request to http requests. At the moment, there is now was to pass custom headers and paramters to REST API to implement different, like OAuth 1 / OAuth 2 / JWT tokens.
Describe the solution you'd like
Adding a filter or other hook at this line
|
$response = Utils\http_request( $method, rtrim( $this->api_url, '/' ) . $route, $assoc_args, $headers ); |
This would allow a developer to modify header passed to the request so that different authentication mechanisms can be implemented.
Feature Request
Describe your use case and the problem you are facing
Allow for custom authentication mechanisms to be used for REST API request to http requests. At the moment, there is now was to pass custom headers and paramters to REST API to implement different, like OAuth 1 / OAuth 2 / JWT tokens.
Describe the solution you'd like
Adding a filter or other hook at this line
restful/inc/RestCommand.php
Line 428 in 024fe42
This would allow a developer to modify header passed to the request so that different authentication mechanisms can be implemented.