amplify-flutter icon indicating copy to clipboard operation
amplify-flutter copied to clipboard

Document the Hub Events for Amplify Cognito

Open mo-malaka opened this issue 5 years ago • 2 comments

Can you list all the supported Auth Hub events

https://docs.amplify.aws/lib/auth/auth-events/q/platform/flutter

For example, something similar to this

mo-malaka avatar Nov 17 '21 17:11 mo-malaka

In addition, we should consider using an enum or a constant for this. This would be self documenting. Just looking at the docs for iOS, it looks like either an enum for constant is used.

Jordan-Nelson avatar Nov 17 '21 19:11 Jordan-Nelson

The docs list out all the hub events. The only issue I see with the current docs is that it isn't 100% clear that the list covers all events.

In the current developer-preview these events are enums, which makes them more discoverable & self documenting. That is, it should be clear what the full list of event types is.

@offlineprogrammer - Do we want to keep this open still? I think the docs may have been updated since this was opened and the changes in developer-preview will add further clarification.

Jordan-Nelson avatar Jan 11 '23 15:01 Jordan-Nelson