Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/oauth4webapi/build/index.d.ts>parseWwwAuthenticateChallenges

Low-Level OAuth 2 / OpenID Connect Client API for JavaScript Runtimes
Latest
function parseWwwAuthenticateChallenges
import { parseWwwAuthenticateChallenges } from "https://deno.land/x/oauth4webapi@v2.17.0/build/index.d.ts";

Parses the WWW-Authenticate HTTP Header from a !Response instance.

Returns

Array of WWWAuthenticateChallenge objects. Their order from the response is preserved. undefined when there wasn't a WWW-Authenticate HTTP Header returned.