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

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/blocks@1.63.13/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; }>