UNPKG

jinaga

Version:

Data management for web and mobile applications.

8 lines (7 loc) 286 B
import { LoginResponse } from '../http/messages'; import { FactEnvelope, FactRecord } from '../storage'; export interface Authentication { login(): Promise<LoginResponse>; local(): Promise<FactRecord>; authorize(envelopes: FactEnvelope[]): Promise<FactEnvelope[]>; }