authRepositoryProvider top-level property

Provider<AuthRepository> authRepositoryProvider
final

Provides the AuthRepository instance.

Implementation

final authRepositoryProvider = Provider<AuthRepository>((ref) {
  return AuthRepository(
    portalService: ref.watch(portalServiceProvider),
    studentQueryService: ref.watch(studentQueryServiceProvider),
    database: ref.watch(databaseProvider),
    secureStorage: _secureStorage,
    onAuthStatusChanged: ref.read(authStatusProvider.notifier).update,
  );
});