AuthRepository constructor
AuthRepository({ - required PortalService portalService,
- required StudentQueryService studentQueryService,
- required AppDatabase database,
- required FlutterSecureStorage secureStorage,
- required bool isDemo,
- required Future<void> clearCourseWidget(),
- required void onSessionCreated(),
- required void onSessionDestroyed([
- LoginException? exception
]),
- Future<void> onCredentialsUpdated({
- required String password,
- String? previousPassword,
- String? previousUsername,
- 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,
});