Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.49/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