AuthRepository constructor

AuthRepository({
  1. required PortalService portalService,
  2. required StudentQueryService studentQueryService,
  3. required AppDatabase database,
  4. required FlutterSecureStorage secureStorage,
  5. required bool isDemo,
  6. required Future<void> clearCourseWidget(),
  7. required void onSessionCreated(),
  8. required void onSessionDestroyed([
    1. LoginException? exception
    ]),
  9. Future<void> onCredentialsUpdated({
    1. required String password,
    2. String? previousPassword,
    3. String? previousUsername,
    4. required String username,
    })?,
})

Implementation

AuthRepository({
  required this._portalService,
  required this._studentQueryService,
  required this._database,
  required this._secureStorage,
  required this._isDemo,
  required this._clearCourseWidget,
  required this._onSessionCreated,
  required this._onSessionDestroyed,
  this._onCredentialsUpdated,
});