How to use the u2f-api.ensureSupport function in u2f-api

To help you get started, we’ve selected a few u2f-api examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github authelia / authelia / web / src / views / LoginPortal / SecondFactor / SecondFactorForm.tsx View on Github external
    useEffect(() => { u2fApi.ensureSupport().then(() => setU2fSupported(true)) }, [setU2fSupported]);

u2f-api

Promisified U2F API for browsers

MIT
Latest version published 4 years ago

Package Health Score

50 / 100
Full package analysis