UNPKG

@authduo/authduo

Version:

Free User-sovereign Authentication for the World

21 lines (14 loc) 324 B
import {Passport} from "../../auth/passport.js" export namespace Purpose { export type Manage = { kind: "manage" } export type Login = { kind: "login" audience: string hostname: string onLogin: (passport: Passport) => Promise<void> } //////////////////////////////// export type Any = Manage | Login }