Sha256: 699210d4a6d9437556e14b9ae99f306f74171de15b218482ae7cd8633538b84a
Contents?: true
Size: 474 Bytes
Versions: 18
Compression:
Stored size: 474 Bytes
Contents
# frozen_string_literal: true require "webauthn/public_key_credential/entity" module WebAuthn class PublicKeyCredential class UserEntity < Entity attr_reader :id, :display_name def initialize(id:, display_name: nil, **keyword_arguments) super(**keyword_arguments) @id = id @display_name = display_name || name end private def attributes super.concat([:id, :display_name]) end end end end
Version data entries
18 entries across 18 versions & 1 rubygems