diff options
Diffstat (limited to 'packages/browser/src/helpers')
-rw-r--r-- | packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts (renamed from packages/browser/src/helpers/browserSupportsConditionalMediation.ts) | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/browser/src/helpers/browserSupportsConditionalMediation.ts b/packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts index e3fbcea..d0a5ca6 100644 --- a/packages/browser/src/helpers/browserSupportsConditionalMediation.ts +++ b/packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts @@ -1,4 +1,8 @@ /* eslint-disable @typescript-eslint/ban-ts-comment */ +/** + * Determine if the browser supports conditional UI, so that WebAuthn credentials can + * be shown to the user in the browser's typical password autofill popup. + */ export async function browserSupportsWebAuthnAutofill(): Promise<boolean> { // Just for Chrome Canary right now; the PublicKeyCredential logic below is the real API // @ts-ignore |