mirror of
https://github.com/floci-io/floci.git
synced 2026-11-26 23:29:28 -05:00
Record SignIn events for USER_PASSWORD_AUTH, ADMIN_USER_PASSWORD_AUTH, ADMIN_NO_SRP_AUTH and USER_SRP_AUTH on pools with the Plus feature plan and threat protection in AUDIT or ENFORCED mode, and list them newest first with MaxResults and NextToken paging. Other pools get UserPoolAddOnNotEnabledException. A wrong password is Fail, a sign-in interrupted by a challenge stays InProgress until it ends in tokens, and no EventRisk is reported since Floci performs no risk evaluation. Events are matched to their pool and user by the stored owner, not the key prefix alone, and a sign-in that ends after its user is deleted records nothing. Closes #6137