Skip to content

Conversation

Firehed
Copy link
Contributor

@Firehed Firehed commented Sep 9, 2024

This adds a new core SDK method, upgradeToPasskey(name: String, displayName: String?), which attempts a background upgrade of a password-based account to a passkey. On unsupported platforms, it will return a .failure(.unsupportedOnPlatform) - so there's no need to run your own availability checks.

Fixes #27

TODO:

  • Improve docs
  • Link to WWDC video in readme
  • Add extra safeguards to ensure this can't trigger a modal registration
  • Misc. cleanup

Base automatically changed from availability-api to main September 9, 2024 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant