Skip to main content
Module

x/httpclient/mod.ts>auth

Fetch based modern http client, supports node, web, deno!
Latest
function auth
import { auth } from "https://deno.land/x/httpclient@0.0.1/mod.ts";

Add token based auth feature

Parameters

optional
headerKey: string = [UNSUPPORTED]
optional
tokenExtractor: (r: any) => string | null = [UNSUPPORTED]