question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add "supportsPlatformAuthenticator" helper function

See original GitHub issue

Just a suggestion and definitely not mission-critical, but I thought that for completeness’ sake, why not add a supportsPlatformAuthenticator helper function along supportsWebauthn? It would basically just be a wrapper around PublicKeyCredential::isUserVerifyingPlatformAuthenticatorAvailable.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
MaKleSoftcommented, Aug 23, 2021

Awesome! Yeah the native api is … an acquired taste … which is why this project is such a godsend! I’m already calling it “BetterWebAuthn” in my head 😉

0reactions
MasterKalecommented, Aug 28, 2021

This issue has been resolved in v4.0.0! Please see the changelog and check out the docs for this new method ✌️

Read more comments on GitHub >

github_iconTop Results From Across the Web

c++ - How to add method to a class (Helper function)?
To extend a class in C++, distinguish two cases. If the new function can be expressed in terms of the current interface, use...
Read more >
Use helper functions | Substrate_ Docs
The helper we'll refer to is called fn _adder . It checks that there is no overflow when adding two integers of type...
Read more >
Creating Your Own PHP Helpers in a Laravel Project
If you are new to Laravel or PHP, let's walk through how you might go about creating your own helper functions that automatically...
Read more >
Helper Functions - Components - Ember Guides
We define helper functions in the app/helpers folder. In this case we want a helper function that takes three arguments: a string, a...
Read more >
Reuse Code Using Helper Functions - MATLAB & Simulink
Creating a helper function allows you to single-source the common commands and avoid having to maintain redundant code. There are two types of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found