Skip to main content
Module

x/live/deps.ts>supabase.RealtimeClient#setAuth

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Very Popular
Go to Latest
method supabase.RealtimeClient.prototype.setAuth
Re-export
import { supabase } from "https://deno.land/x/live@1.75.5/deps.ts";
const { RealtimeClient } = supabase;

Sets the JWT access token used for channel subscription authorization and Realtime RLS.

Parameters

token: string | null

A JWT string.