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

x/deco/deps.ts>supabase.UserAttributes

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Go to Latest
interface supabase.UserAttributes
import { type supabase } from "https://deno.land/x/deco@1.75.1/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.