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

x/gotrue/src/index.ts>GoTrueApi#getUser

An isomorphic Javascript library for GoTrue.
Latest
method GoTrueApi.prototype.getUser
Re-export
import { GoTrueApi } from "https://deno.land/x/gotrue@3.0.0/src/index.ts";

Gets the user details.

Parameters

jwt: string

A valid, logged-in JWT.

Returns

Promise<{ user: User | null; data: User | null; error: ApiError | null; }>