Class: PasskeysRails::BeginChallenge
- Inherits:
-
Object
- Object
- PasskeysRails::BeginChallenge
- Includes:
- Interactor
- Defined in:
- app/interactors/passkeys_rails/begin_challenge.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
7 8 9 10 11 12 13 14 15 16 |
# File 'app/interactors/passkeys_rails/begin_challenge.rb', line 7 def call result = generate_challenge! = result. context.response = context. = () rescue Interactor::Failure => e context.fail! code: e.context.code, message: e.context. end |