function getUserAuthFieldsById
getUserAuthFieldsById(id: number): Promise<UserAuthFields | null>

Get the minimal encrypted user fields needed to authenticate a session.

Parameters

id: number

Return Type

Promise<UserAuthFields | null>

Usage

import { getUserAuthFieldsById } from "docs/database.ts";