flutter_gb_authentication_basic 4.0.0
flutter_gb_authentication_basic: ^4.0.0 copied to clipboard
Provides basic authentication (credential based)
4.0.0 #
- refactor: Updated dependency to
flutter_gb_stack_base
3.0.0 updated callback signatures
3.13.2 #
- Fix: Pass raw response body to custom refresh token parser
The
customRefreshTokenResponseParser
was incorrectly receiving a decoded JSON object. This commit changes it to pass the rawresponse.body
string, allowing the custom parser to handle the decoding itself.
3.13.1 #
- Minor fix on 'refreshSession' service impl logic
3.13.0 #
- Add AuthenticatedUserBuilder and enhance BlocBuilder with buildWhen
- Introduce
AuthenticatedUserBuilder
to simplify UI rendering based on authenticated user changes, providing a generic way to access user data. - Enhance
AuthenticationBasicBlocBuilder
by adding abuildWhen
parameter, allowing for optimized rebuild control and improved performance. - This change prevents unnecessary widget rebuilds when only the authenticated user state is relevant.
- Introduce
3.12.4 #
- Clear authentication and signup failures on
Added logic to clear previous authentication and signup failures when a new authentication or signup process is initiated in the
AuthenticationBasicBloc
. This ensures that old error states are not displayed during a new attempt.
3.12.3 #
- Fixes in 'AuthenticationServiceImpl.fetchAuthUserData'
3.12.2 #
- Pass 'AuthHttpClientKeys.refreshTokenRequestHeader' for refresh token API call (3.10.1+1)
3.12.1 #
- Update dependencies
3.12.0 #
- Update http dependency to ^1.0.0
- Remove 'auth_http_client' dependency
3.11.4 #
- AuthenticationBasicEvent.setSession API to be able to manually define a session from the outside
3.11.3 #
- Added AuthenticationBasicBloc.getAuthUserAs/and AuthenticationBasicState.getAuthUserAs utility methods for quick user cast access
3.11.0 #
- Update device_info_plus to 11.1.x dependency, improved support for web info
3.10.1 #
- Wait for auth to be checked on route guard
3.10.0 #
- Updated auto_route , regenerated build_runner files dependencies
3.0.4 #
- Wait for auth to be checked on route guard
3.0.3 #
- Fixes for web compatibility
3.0.2 #
- Fixed unpassed config customRefreshTokenCallback
3.0.1 #
- Fixes in customRefreshTokenCallback failure handling
3.0.0 #
- Make compatible with Flutter 3.13.0
2.1.7 #
- Provide service "getStoredDeviceInfo" API(protected)
2.1.4 #
- Improvements on authDeviceInfo logic Ensure deviceInfo passed to API to be persisted on preferences
2.1.3 #
- Fallback for deviceInfo on register with credentials
- Don't remove device info on logout.
2.1.1 #
- Auto fetch user data on session refresh
- Update SharedPreferences user on fetch user data success
2.1.0 #
- Support passing newDeviceInfo for improved session handling
2.0.1 #
- Apply 1.2.8 Fixes into mainstream
2.0.0 #
- Upgrade autoroute dependency
1.2.8 #
- Minor fixes
- Fixed issues that requested a refresh token after login in
1.2.7 #
- Minor updates in guard
- Improve refresh logic for app initialization
1.2.5 #
- Expose storeAuthDataSession service method
1.2.4 #
- Updates in AuthGuard, verify authBloc.config.customRefreshTokenCallback prop
1.2.3 #
- Fix bloc session expiration logic
- Support for logEvents & logFilter on Bloc
1.2.1 #
- Support
customRefreshTokenCallback
property
1.2.0 #
- Update autoroute dependency
1.1.1 #
- Fix 'logoutAfterDelete'
1.1.0 #
- Added delete account action
1.0.0 #
- Support Async logic on custom mappers or parsers
- First public release
0.8.7 #
- Improve expiration handle
- Throw session expired when the system wont be able to refresh
0.8.6 #
- Logout on getSession failure
- Other improves
- Log getSession exceptions
- Upgrade flutter_gb_stack_base
0.8.1 #
- Update "flutter_gb_stack_base" dependency
0.8.0 #
- Use stack_base repo_base_impl handlers
- Changed String based endpoint definitions to Uris
0.7.7 #
- Updated stack base
0.7.5 #
- Dispatch failure if trying to fetch user without session data
0.7.4 #
- Ensure guards always resolve
- Updated stack_base dep
0.7.3 #
- Change logging type to verbose
0.7.2 #
- Update dependencies
0.7.1 #
- Implement
BlocEventListener
onAuthenticationBasicBlocListener
- Update dependencies
0.7.0 #
- Upgrade dependencies to support flutter 3.3.x
0.6.8 #
- handle better
NoAuthenticatedFailure
scenario
0.6.7 #
- Make authenticated state property a getter
0.6.5 #
- Update dependencies
0.6.4 #
- Added
hasTokenExpired
static function
0.6.3 #
- Added some extra warning if overriding HttpClientImpl
- Updated
flutter_gb_stack_base
dependency - Allow to recycle HttpClient in a safer way
- This was required in order to provide enough flexibility to a specific project
0.6.2 #
- Fix wait loop on guard refresh timeout logic
- Update dependencies
0.6.1 #
- Support special decimal case on token claims
0.6.0 #
- Improve
AuthenticationBasicBlocListener
container
0.5.3 #
- Improve
AuthenticationBasicBlocListener
container
0.5.1 #
- Improved "refreshToken" handling
- Updated stack base dependency
0.5.0 #
- Upgrade dependencies to be compatible with Flutter 3.0
0.4.8 #
- Update dependencies
0.4.7 #
-
Update dependencies
0.4.6 #
- Update dependencies
0.4.5 #
- Fix public logger method
- Update dependencies
0.4.4 #
- Update stack_base dependency
0.4.3 #
- Update dependencies
0.4.2 #
- Make
storeAuthDataSession
method async
0.4.1 #
- Transform private method to protected
Method in AuthService
_storeAuthData
now is protectedstoreAuthDataSession
This will allow usage in other classes that extends this as a base
0.4.0 #
- Major Breaking changes
- Upgrade to use new
flutter_gb_stack_base
- Updated other dependencies
- Upgrade to use new
0.3.1 #
- Fix user serialization for signup method
0.3.0 #
- Update flutils dependency & update code
- Internally auth http client have been upgraded
0.2.2 #
- Updated flutils dependency
0.2.1 #
- Added [useReplayStream] prop in AuthenticationBasicBlocListener
- This helps Listener to dispatch callbacks when it was to late to listen to them
0.2.0 #
- Breaking changes
- Changed BasicAuthenticationConfig props types
- [customLoginResponseParser]
- [customSignupCredentialsResponseParser]
- Changed BasicAuthenticationConfig props types
- Updated flutils dependency
0.1.0 #
- Updated flutils dependency &
- Perform corresponding changes for new lib version
0.0.5 #
- Updated flutils dependency
0.0.4 #
- Updated flutils dependency
0.0.3 #
- Added basic AuthGuard
0.0.2 #
- Increase SDK version compatibility
0.0.1 #
- Initial release