diff options
author | Matthew Miller <matthew@millerti.me> | 2022-06-19 11:28:16 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2022-06-19 11:28:16 -0700 |
commit | 84d931ea0aadc249a72cfd422b912dec0d52f995 (patch) | |
tree | bc84f30a7c20d0dc2ba32030966961de1d174387 /packages/browser/src/helpers | |
parent | 62a0b18a586bdb6ebcc89aefe2b925181003aa3a (diff) |
Rename conditional UI support check method
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 |