UNPKG

@e280/authlocal

Version:

User-sovereign login system for everybody

16 lines (15 loc) 438 B
import { Identity } from "../../../../trust/exports/authority.js"; export declare class IdentityDraft { #private; constructor(identity: Identity); get identity(): Identity; set identity(fresh: Identity); setEditedLabel(label: string): void; getEditedLabel(): string; hasValidChanges(): boolean; getValidEditedIdentity(): { label: string; id: string; secret: string; } | null; }