fbe9252db1
- 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
18 lines
370 B
Ruby
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
|