import { parseWwwAuthenticateChallenges } from "https://deno.land/x/oauth4webapi@v2.7.0/src/index.ts";
Parses the WWW-Authenticate
HTTP Header from a Response instance.
Parameters
response: Response
Returns
WWWAuthenticateChallenge[] | undefined
Array of WWWAuthenticateChallenge objects. Their order from the response is
preserved. undefined
when there wasn't a WWW-Authenticate
HTTP Header returned.