wyatt-packages/packages/wyatt_authentication_bloc
Hugo Pointcheval 7fcb9e8ac3
chore(release): publish packages
- wyatt_bloc_helper@2.0.0
 - wyatt_type_utils@0.0.4
 - wyatt_authentication_bloc@0.4.0+3
 - wyatt_crud_bloc@0.1.0+2
 - wyatt_architecture@0.1.0+1
 - wyatt_form_bloc@0.2.0+2
2022-12-04 21:08:15 -05:00
..
2022-12-04 21:08:15 -05:00
2022-04-19 19:34:04 +02:00
2022-12-04 21:08:15 -05:00
2022-04-19 19:34:04 +02:00
2022-12-04 21:08:15 -05:00
2022-11-11 16:54:58 -05:00

Flutter - Authentication BLoC

Style: Wyatt Analysis SDK: Flutter

Authentication Bloc for Flutter.

Features

  • Wyatt Architecture
  • Entities:
    • Account : AccountModel -> Contains account information from provider
    • AccountWrapper : AccountWrapperModel -> Contains account and extra data.
  • Data Sources:
    • Local:
      • Cached Authentication Data : AuthenticationCacheDataSourceImpl -> Provides a cache implementation
    • Remote:
      • Remote Authentication Data : AuthenticationFirebaseDataSourceImpl -> Provides a proxy to FirebaseAuth
  • Repositories:
    • AuthenticationRepository : AuthenticationRepositoryImpl -> Provides all authentication methods
  • Features:
    • Authentication:
      • AuthenticationBuilder : widget to build reactive view from authentication state
      • AuthenticationCubit : tracks every auth changes, have sign out capability.
    • SignUp:
      • SignUpCubit: implementation of a FormDataCubit from wyatt_form_bloc for the sign up
    • SignIn:
      • SignUpCubit: implementation of a FormDataCubit from wyatt_form_bloc for the sign in
  • Consistent
    • Every class have same naming convention
  • Tested

Getting started

Simply add wyatt_authentication_bloc in pubspec.yaml, then

import 'package:wyatt_authentication_bloc/wyatt_authentication_bloc.dart';

Usage

// TODO