class WebAuthn::CredentialCreationOptions

def pub_key_cred_params

def pub_key_cred_params
  configuration.algorithms.map do |alg_name|
    { type: "public-key", alg: COSE::Algorithm.by_name(alg_name).id }
  end
end