class WebAuthn::CredentialUserEntity

Attributes

display_name[R]
id[R]

Public Class Methods

new(id:, display_name: nil, **keyword_arguments) click to toggle source
Calls superclass method WebAuthn::CredentialEntity::new
# File lib/webauthn/credential_user_entity.rb, line 9
def initialize(id:, display_name: nil, **keyword_arguments)
  super(**keyword_arguments)

  @id = id
  @display_name = display_name || name
end