Class: PasskeysRails::BeginRegistration
- Inherits:
-
Object
- Object
- PasskeysRails::BeginRegistration
- Includes:
- Interactor
- Defined in:
- app/interactors/passkeys_rails/begin_registration.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
7 8 9 10 11 |
# File 'app/interactors/passkeys_rails/begin_registration.rb', line 7 def call agent = create_or_replace_unregistered_agent context. = WebAuthn::Credential.(user: { id: agent.webauthn_identifier, name: agent.username }) end |