Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
function wwwAuthenticate
import { wwwAuthenticate } from "https://deno.land/x/authlete_deno@v1.2.3/src/web/response_util.ts";

Create a response with the given status and WWW-Authenticate header having the given challenge as its value.

Parameters

status: number
challenge: string