Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
method supabase.RealtimeClient.prototype.setAuth
Re-export
import { supabase } from "https://deno.land/x/live@1.53.2/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.