import { parseWwwAuthenticateChallenges } from "https://deno.land/x/oauth4webapi@v2.1.0/mod.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.