mirror of
https://github.com/hanzoai/iam.git
synced 2026-11-19 18:37:16 +00:00
users.Create drops the federated subjects, raw passkey rows, secrets and factors a body states; the one link a new account starts with is the calling code's CreateInput.Link, which federation sets from the subject it proved. Linked accounts and the last-sign-in check read schema.Connectors, the list federation signs in with. users.Update reads the row again under its lock and carries from it in the transaction that writes, so a link, factor or reset landing between read and write is kept.