Class: Booth::Core::Webauth::OptionsForGet

Inherits:
Object
  • Object
show all
Includes:
Calls
Defined in:
lib/booth/core/webauth/options_for_get.rb

Instance Method Summary collapse

Instance Method Details

#callObject



12
13
14
15
16
17
18
19
20
# File 'lib/booth/core/webauth/options_for_get.rb', line 12

def call
  raise 'what' unless relying_party

  WebAuthn::Credential.options_for_get(
    allow: allowed_device_ids,
    user_verification: :required,
    relying_party:,
  )
end