Class: PasskeysRails::ValidateAuthToken
- Inherits:
-
Object
- Object
- PasskeysRails::ValidateAuthToken
- Includes:
- Interactor
- Defined in:
- app/interactors/passkeys_rails/validate_auth_token.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
7 8 9 10 11 |
# File 'app/interactors/passkeys_rails/validate_auth_token.rb', line 7 def call context.fail!(code: :missing_token, message: "X-Auth header is required") if auth_token.blank? context.agent = fetch_agent end |