WebauthnComponents.AuthenticatorSelection (WebauthnComponents v0.11.3)

View Source

Struct used to constrain allowed authenticators used to create a new credential.

Note that requireResidentKey is soft-deprecated in the W3 spec, so there is no :require_resident_key field in this struct. Use the :resident_key field to apply constraints for discoverable credentials.

Resources

Summary

Types

t()

@type t() :: %WebauthnComponents.AuthenticatorSelection{
  authenticator_attachment: :platform | :"cross-platform",
  resident_key: :discouraged | :preferred | :required,
  user_verification: :discouraged | :preferred | :required
}