Class: Booth::Userland::Webauths::Index

Inherits:
Object
  • Object
show all
Includes:
Concerns::Action
Defined in:
lib/booth/userland/webauths/index.rb

Overview

Lists all currently registered Passkeys for the logged in user.

Instance Method Summary collapse

Instance Method Details

#callObject



10
11
12
13
14
15
16
17
18
# File 'lib/booth/userland/webauths/index.rb', line 10

def call
  request.must_be_get!
  request.must_be_html!
  request.must_be_logged_in!

  ::Booth::Userland::Webauths::Guards::Sudo.call(request:, credential:) { return it }

  do_index
end