This PR allows the parent LiveView to send user details (id, name, displayName) used by the WebAuthn API. The name is displayed to the user during registration and authentication, and the changes here will allow multiple users to share the same device.
The parent LiveView will be responsible for determining what appears as the name and display name. Some apps will choose email, others will choose usernames, for example.
Overview
Resolves #44
This PR allows the parent LiveView to send user details (
id
,name
,displayName
) used by the WebAuthn API. The name is displayed to the user during registration and authentication, and the changes here will allow multiple users to share the same device.The parent LiveView will be responsible for determining what appears as the name and display name. Some apps will choose email, others will choose usernames, for example.
Changes
WebauthnComponents.WebauthnUser
struct:user_handle
Screenshots
Tests
Collaborators