Skip to content

Commit ca4d5b4

Browse files
committed
Refactor: Rename AuthModule to SessionModule and update client getter
This commit renames `AuthModule` to `SessionModule` to better reflect its purpose. Additionally, the method `authenticatedFeeds` within the module has been renamed to `authenticatedFeedsClient` for clarity. This change has been propagated to the dependency injection configuration.
1 parent 44093f5 commit ca4d5b4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

sample_app/lib/core/di/di_initializer.config.dart

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sample_app/lib/core/di/auth_module.dart renamed to sample_app/lib/core/di/session_module.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import '../../app/content/auth_controller.dart';
66
@module
77
abstract class SessionModule {
88
@Singleton(scope: 'session')
9-
StreamFeedsClient authenticatedFeeds(AuthController auth) {
9+
StreamFeedsClient authenticatedFeedsClient(AuthController auth) {
1010
return (auth.value as Authenticated).client;
1111
}
1212
}

0 commit comments

Comments
 (0)