Module: Practical::Auth::Passkeys::Controllers::WebAuthnDebugContext
- Included in:
- EmergencyRegistrations, Memberships::Controllers::MembershipInvitations::RegisterWithPasskey
- Defined in:
- app/concerns/practical/auth/passkeys/controllers/web_authn_debug_context.rb
Instance Method Summary collapse
Instance Method Details
#honeybadger_webauthn_context ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'app/concerns/practical/auth/passkeys/controllers/web_authn_debug_context.rb', line 4 def honeybadger_webauthn_context debug_credential = WebAuthn::Credential.from_create(parsed_credential, relying_party: ) debug_client_data_json = debug_credential.response.client_data.as_json return { debug_client_data_json: debug_client_data_json, relying_party_json: .as_json } end |