UNPKG

jinaga

Version:

Data management for web and mobile applications.

16 lines 693 B
import { LoginResponse } from '../http/messages'; import { WebClient } from '../http/web-client'; import { IndexedDBLoginStore } from '../indexeddb/indexeddb-login-store'; import { FactEnvelope, FactRecord } from '../storage'; import { Authentication } from './authentication'; export declare class AuthenticationOffline implements Authentication { private store; private client; constructor(store: IndexedDBLoginStore, client: WebClient); login(): Promise<LoginResponse>; local(): Promise<FactRecord>; authorize(envelopes: FactEnvelope[]): Promise<FactEnvelope[]>; private loginRemote; private loginLocal; } //# sourceMappingURL=authentication-offline.d.ts.map