mirror of
https://github.com/bitwarden/jslib
synced 2025-12-22 03:03:15 +00:00
12 lines
434 B
TypeScript
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 }>;
|
|
}
|