mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 22:11:36 -05:00
- Parse MessageAction in CognitoJsonHandler#handleAdminCreateUser. - Add a new 5-arg CognitoService#adminCreateUser overload that accepts MessageAction. - Keep the existing 4-arg adminCreateUser signature and delegate it to the new overload to preserve existing callers. - Handle RESEND for FORCE_CHANGE_PASSWORD users by refreshing lastModifiedDate and returning the existing user instead of throwing UsernameExistsException. - Treat RESEND as a no-op invitation refresh because Floci does not have email transport. - Keep RESEND behavior consistent with other notification-bearing APIs in the emulator. - Throw UserNotFoundException when RESEND is requested for a missing user. - Throw UnsupportedUserStateException when RESEND is requested for a CONFIRMED user. - Align RESEND error behavior with real AWS Cognito. - Add 3 unit tests in CognitoServiceTest. - Add 1 wire-level test in CognitoIntegrationTest.