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

x/netzo/plugins/api/hooks/authenticate.ts>authenticate

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
variable authenticate
import { authenticate } from "https://deno.land/x/netzo@0.4.40/plugins/api/hooks/authenticate.ts";

A hook that authenticates requests using the provided API key by checking the "x-api-key" header or "$apiKey" query parameter.

type

(options?: AuthenticateOptions) => unknown