mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 07:13:32 +00:00
Add support for WebAuthn to browser extension (#1379)
This commit is contained in:
@@ -126,12 +126,8 @@ export default class BrowserPlatformUtilsService implements PlatformUtilsService
|
||||
return BrowserApi.getApplicationVersion();
|
||||
}
|
||||
|
||||
supportsU2f(win: Window): boolean {
|
||||
if (win != null && (win as any).u2f != null) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return this.isChrome() || this.isOpera() || this.isVivaldi() || this.isEdge();
|
||||
supportsWebAuthn(win: Window): boolean {
|
||||
return (typeof(PublicKeyCredential) !== 'undefined');
|
||||
}
|
||||
|
||||
supportsDuo(): boolean {
|
||||
|
||||
Reference in New Issue
Block a user