Files
fizzy/lib/action_pack/web_authn.rb
T
Stanko K.R. fbe9252db1 Auto-suggest name for new Passkeys
- Use plain client data json everywhere
- Expose AAGUID and backed_up on Credentials
- Make attestation verifiers configurable
- Auto-suggest names for passkeys and show icons
2026-03-18 11:49:59 +01:00

18 lines
370 B
Ruby

module ActionPack::WebAuthn
class << self
def relying_party
RelyingParty.new
end
def attestation_verifiers
@attestation_verifiers ||= {
"none" => Authenticator::AttestationVerifiers::None.new
}
end
def register_attestation_verifier(format, verifier)
attestation_verifiers[format.to_s] = verifier
end
end
end