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

x/live/deps.ts>supabase.GoTrueClient#getUser

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

Gets the current user details if there is an existing session.

Parameters

optional
jwt: string

Takes in an optional access token jwt. If no jwt is provided, getUser() will attempt to get the jwt from the current session.