Skip to main content
Module

x/postgrest/mod.ts>PostgrestClient#auth

Isomorphic JavaScript client for PostgREST.
Latest
method PostgrestClient.prototype.auth
import { PostgrestClient } from "https://deno.land/x/postgrest@1.1.0/mod.ts";

Authenticates the request with JWT.

Parameters

token: string

The JWT token to use.