Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Latest
method supabase.GoTrueAdminApi.prototype.signOut
Re-export
import { supabase } from "https://deno.land/x/blocks@1.75.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; }>