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

x/netzo/plugins/auth/utils/types.ts>Auth

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
type alias Auth
import { type Auth } from "https://deno.land/x/netzo@0.5.70/plugins/auth/utils/types.ts";
definition: { createUser: (user: AuthUser) => Promise<void>; createUserSession: (user: AuthUser, sessionId: string) => Promise<void>; updateUser: (user: AuthUser) => Promise<void>; updateUserSession: (user: AuthUser, sessionId: string) => Promise<void>; getUser: (authId: string) => Promise<AuthUser | null>; getUserBySession: (sessionId: string) => Promise<AuthUser | null>; }