1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 01:33:33 +00:00

Add isLoginWithPasskeySupported function to reduce client type checking in template.

This commit is contained in:
Alec Rippberger
2024-10-01 13:02:39 -05:00
parent a104a9250d
commit ca0520cea0
4 changed files with 18 additions and 2 deletions

View File

@@ -36,6 +36,11 @@ export abstract class LoginComponentService {
*/
isLoginViaAuthRequestSupported: () => boolean;
/**
* Indicates whether login with passkey is supported on the given client
*/
isLoginWithPasskeySupported: () => boolean;
/**
* Launches the SSO flow in a new browser window.
* - Used by: Browser, Desktop