1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 17:23:37 +00:00

PM-8111 - New Login Comp + Login Comp Svc - (1) Refactor naming and returns of getShowPasswordlessFlag to isLoginViaAuthRequestSupported (2) Replace showPasswordless with better composed variable names.

This commit is contained in:
Jared Snider
2024-09-30 15:30:31 -04:00
parent 79b2633d9e
commit d1a0c2f5f5
6 changed files with 13 additions and 17 deletions

View File

@@ -32,10 +32,9 @@ export abstract class LoginComponentService {
setPreviousUrl: (route: UrlTree) => void | null;
/**
* Gets the status of the `showPasswordless` feature flag.
* - Used by: Web, Browser
* Indicates whether login with device (auth request) is supported on the given client
*/
getShowPasswordlessFlag: () => boolean;
isLoginViaAuthRequestSupported: () => boolean;
/**
* Launches the SSO flow in a new browser window.