mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
WebAuthn (#633)
This commit is contained in:
@@ -158,11 +158,8 @@ export class WebPlatformUtilsService implements PlatformUtilsService {
|
||||
return process.env.APPLICATION_VERSION || '-';
|
||||
}
|
||||
|
||||
supportsU2f(win: Window): boolean {
|
||||
if (win != null && (win as any).u2f != null) {
|
||||
return true;
|
||||
}
|
||||
return this.isChrome() || ((this.isEdge() || this.isOpera() || this.isVivaldi()) && !Utils.isMobileBrowser);
|
||||
supportsWebAuthn(win: Window): boolean {
|
||||
return (typeof(PublicKeyCredential) !== 'undefined');
|
||||
}
|
||||
|
||||
supportsDuo(): boolean {
|
||||
|
||||
Reference in New Issue
Block a user