maxonflutter / Grocery-Shopping-App-with-Flutter-Dart-Frog

A simple eCommerce UI connected with a backend server using dart_frog
19 stars 5 forks source link

Junior AI: Create an Auth BLoC for User Authentication #14

Open maxonflutter opened 10 months ago

maxonflutter commented 10 months ago

The scope of work for Junior AI

My Flutter app requires a BLoC to handle user authentication. 
1. Event AppLogin: It takes the user credentials and send them to the server to login
2. Event AppLogout: It concludes the user session
3. Event AuthChanged: Listen to a stream to check if the user auth status has changed.

Any relevant code snippet

class AuthRepository {
Future<void> login() ..
Future<void> logout() ..
Stream<AuthUser> authUserChanged() ... 
}

Any relevant file references

No response

Automated Workflows

BLoC Workflow

Code or Test

Not sure

Create or Edit

Not sure

ghost commented 10 months ago

Junior AI Bot Update 🤖

Hello! I'm pleased to inform you that the Junior AI Bot has started working on this issue. Hang on tight while the bot handles the task.

Account Status 💰

Currently, you have 5850 credits remaining in your account.

Should you need more credits or wish to view our pricing plans, kindly visit Junior Pricing.

Support & Community 💬

For any technical support, queries, or to engage with the community, please don't hesitate to send an email to massimo@atomsbox.com or join us the our Discord Channel.

Learn & Support ⭐

Want to see Junior AI Bot in action? Check out the GitHub project for examples. If you find the project helpful, please consider giving a star to support it!