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
9 10 11 |
# File 'lib/booth/userland/webauths/transitions/sudo/authentication_verification.rb', line 9 def self.applicable?(params:) params.dig(:webauth, :rawId) end |
Instance Method Details
#call ⇒ Object
13 14 15 16 17 18 |
# File 'lib/booth/userland/webauths/transitions/sudo/authentication_verification.rb', line 13 def call request.must_be_post! request.must_be_json! do_verify_response end |