Skip to main content
Module

x/authlete_deno/mod.ts>wwwAuthenticate

Authlete Library for Deno
Go to Latest
function wwwAuthenticate
Re-export
import { wwwAuthenticate } from "https://deno.land/x/authlete_deno@v1.2.3/mod.ts";

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

Parameters

status: number
challenge: string