Module: RailsAuthentication::Generators::Features::Passkey
- Included in:
- AuthenticationGenerator
- Defined in:
- lib/generators/authentication/features/passkey.rb
Overview
Opt-in (--passkey): WebAuthn-based passkey sign-in, in addition to
password sign-in. A user may register any number of passkeys
(platform authenticators, security keys); sign-in is usernameless —
the browser's discoverable-credential picker stands in for an email
field. Ceremony verification is delegated to the webauthn gem —
unlike everything else this gem generates, that's a real runtime
dependency, so it's added straight to the host app's Gemfile.