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

x/live/deps.ts>supabase.GoTrueAdminApi#signOut

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
method supabase.GoTrueAdminApi.prototype.signOut
Re-export
import { supabase } from "https://deno.land/x/live@1.60.0/deps.ts";
const { GoTrueAdminApi } = supabase;

Removes a logged-in session.

Parameters

jwt: string

A valid, logged-in JWT.

optional
scope: "global" | "local" | "others"

The logout sope.

Returns

Promise<{ data: null; error: AuthError | null; }>