Class: Booth::Core::Webauth::Provider
- Inherits:
-
Object
- Object
- Booth::Core::Webauth::Provider
- Defined in:
- lib/booth/core/webauth/provider.rb
Overview
Queries the semi-official AAGUID database for passkey vendors.
Class Method Summary collapse
Class Method Details
.find(aaguid) ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/booth/core/webauth/provider.rb', line 8 def self.find(aaguid) attributes = all[aaguid.to_sym] return unless attributes attributes.merge!(aaguid:) ::Data.define(:aaguid, :name, :icon_dark, :icon_light).new(**attributes) end |