Class: Booth::Userland::Webauths::Transitions::Sudo::AuthenticationVerification
- Inherits:
-
Object
- Object
- Booth::Userland::Webauths::Transitions::Sudo::AuthenticationVerification
- Includes:
- Concerns::Transition
- Defined in:
- lib/booth/userland/webauths/transitions/sudo/authentication_verification.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.applicable?(params:) ⇒ Boolean
11 12 13 |
# File 'lib/booth/userland/webauths/transitions/sudo/authentication_verification.rb', line 11 def self.applicable?(params:) params.dig(:handshake, :rawId) end |
Instance Method Details
#call ⇒ Object
15 16 17 18 19 20 |
# File 'lib/booth/userland/webauths/transitions/sudo/authentication_verification.rb', line 15 def call request.must_be_post! request.must_be_json! do_verify_response end |