v0.8.0
Changes:
- Add
/ows/verify/{service_name}[/{extra_path}]
endpoint analoguous to/ows/proxy/{service_name}[/{extra_path}]
to only verify if access is granted to this service, for that specific resource path, and for the authenticated user,
without performing the proxied request. This can be employed by servers and external entities to validate that
authorization will be granted for the user without executing potentially heavy computation or large data transfers
from the targeted resource that would otherwise be performed by requesting the/ows/proxy
equivalent location.
One usage example of this feature is using NGINX Authentication Based on Subrequest Result to verify an alternate resource prior to proxying a service
request that needs authenticated access to the first resource. - Add the OWS proxy
send_request
operation under thetwitcher.adapter
interface to allow it applying relevant
proxying adjustments when using derived implementation. TheDefaultAdapater
simply calls the original function
that was previously called directly instead of using the adapter's method. - Removed the
extra_path
andrequest_params
arguments from OWS proxysend_request
to better align them with
arguments from other adapter methods. These parameters are directly retrieved from therequest
argument, which was
also provided as input tosend_request
.