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

x/blocks/deps.ts>supabase.UserAttributes

deco is the edge-native site editor and app framework for building dynamic, high-performance sites with a built-in visual admin UI.
Go to Latest
interface supabase.UserAttributes
import { type supabase } from "https://deno.land/x/blocks@1.28.0-beta.4/deps.ts";
const { UserAttributes } = supabase;

Properties

optional
email: string

The user's email.

optional
phone: string

The user's phone.

optional
password: string

The user's password.

optional
nonce: string

The nonce sent for reauthentication if the user's password is to be updated.

Call reauthenticate() to obtain the nonce first.

optional
data: object

A custom data object to store the user's metadata. This maps to the auth.users.user_metadata column.

The data should be a JSON object that includes user-specific info, such as their first and last name.