API Reference Keyfob v#0.1.0

Copy Markdown View Source

Modules

QR device-handoff login for Phoenix LiveView.

Unstyled, headless-ish function components for the two surfaces of the flow: the desktop QR panel/1 and the phone confirm_screen/1.

LiveView glue for the desktop panel. Handles the create → subscribe → render → await-approval → navigate cycle so a login LiveView only has to render Keyfob.Components.panel/1 and forward one message.

Renders a string as an inline SVG QR code via eqrcode.

A login-handoff request as held by the store.

Storage contract for Keyfob requests — a small keyed store with TTLs and two atomicity guarantees the login flow leans on

The built-in single-node store: one ETS table owned by a GenServer.