UNPKG

@criipto/verify-expo

Version:

Accept MitID, NemID, Swedish BankID, Norwegian BankID and more logins in your Expo (React-Native) app

22 lines 799 B
export interface Transaction { redirectUri: string; onForeground(): void | Promise<void>; onUrl(url: string): void | Promise<void>; } export declare class SwedishBankIDTransaction implements Transaction { redirectUri: string; onComplete: () => void; onCancel: () => void; constructor(redirectUri: string, onComplete: () => void, onCancel: () => void); onForeground(): void; onUrl(url: string): void; } export declare class DanishMitIDTransaction implements Transaction { redirectUri: string; resumeUrl: string | null; onComplete: (url: string) => void; constructor(redirectUri: string, resumeUrl: string | null, onComplete: (url: string) => void); onForeground(): void; onUrl(url: string): void; } //# sourceMappingURL=transaction.d.ts.map