import { protectedResourceRequest } from "https://deno.land/x/oauth4webapi@v3.1.2/mod.ts";
Performs a protected resource request at an arbitrary URL.
Authorization Header is used to transmit the Access Token value.
Parameters
url: URL
Target URL for the request.
optional
headers: HeadersHeaders for the request.
optional
body: ProtectedResourceRequestBodyRequest body compatible with the Fetch API and the request's method.
optional
options: ProtectedResourceRequestOptionsReturns
Promise<Response>
Resolves with a !Response instance. WWW-Authenticate HTTP Header challenges are rejected with WWWAuthenticateChallengeError.