I have a custom WC API endpoint which I want to protect using WooCommerce authentication, ie:
my-site.com/wp-json/wc/v3/custom?consumer_key=ck...&consumer_secret=cs...
How would I achieve this? I know about JWT authentication but that's not acceptible in this case.