1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-22 03:03:15 +00:00
Files
jslib/common/src/abstractions/twoFactor.service.ts
2021-12-21 09:09:23 +10:00

12 lines
434 B
TypeScript

import { TwoFactorProviderType } from "../enums/twoFactorProviderType";
export abstract class TwoFactorService {
init: () => void;
getSupportedProviders: (win: Window) => any[];
getDefaultProvider: (webAuthnSupported: boolean) => TwoFactorProviderType;
clearSelectedProvider: () => void;
setProviders: (data: any) => void;
clearProviders: () => void;
providers: Map<TwoFactorProviderType, { [key: string]: string }>;
}