interface PasswordResetPayload

Signed into a reset link's token by createPasswordResetToken, and returned by verifyPasswordResetToken to resetPassword.

Properties

purpose: "password-reset"
userId: string
exp: number

Seconds since the epoch.

Usage

import { type PasswordResetPayload } from "api/model/auth.ts";