mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
* Stub out dialog * Genericize LoginApprovalComponent * update ipc mocks * Remove changes to account component * Remove changes to account component * Remove debug * Remove test component * Remove added translations * Fix failing test * Run lint and prettier * Rename LoginApprovalServiceAbstraction to LoginApprovalComponentServiceAbstraction * Add back missing "isVisible" check before calling loginRequest * Rename classes to contain "Component" in the name * Add missing space between "login attempt" and fingerprint phrase * Require email
10 lines
296 B
TypeScript
10 lines
296 B
TypeScript
/**
|
|
* Abstraction for the LoginApprovalComponent service.
|
|
*/
|
|
export abstract class LoginApprovalComponentServiceAbstraction {
|
|
/**
|
|
* Shows a login requested alert if the window is not visible.
|
|
*/
|
|
abstract showLoginRequestedAlertIfWindowNotVisible: (email?: string) => Promise<void>;
|
|
}
|