WebauthnComponents.PublicKeyCredentialCreationOptions (WebauthnComponents v0.11.3)

View Source

Struct representing options for registering a new credential.

This struct documents the shape of the WebAuthn PublicKeyCredentialCreationOptions dictionary. Field keys are converted to camelCase when encoded as JSON.

Resources

Summary

Types

t()

@type t() :: %WebauthnComponents.PublicKeyCredentialCreationOptions{
  attestation: :none | :direct | :enterprise | :indirect,
  attestation_formats: [String.t()],
  authenticator_selection: WebauthnComponents.AuthenticatorSelection.t(),
  challenge: binary(),
  exclude_credentials: [WebauthnComponents.ExcludedCredential.t()],
  extensions: map(),
  hints: [String.t()],
  pub_key_cred_params: [WebauthnComponents.PubKeyCredParams.t()],
  rp: WebauthnComponents.RelyingParty.t(),
  timeout: pos_integer(),
  user: WebauthnComponents.User.t()
}