authServiceProvider top-level property
final
Provides the current AuthService
instance for the given web service name.
Refer to kLbPlannerApiServiceName and kMoodleMobileAppServiceName for the available web service names.
Implementation
final authServiceProvider =
Provider.family<AuthService, String>((ref, webService) {
final networkService = ref.watch(networkServiceProvider);
return MoodleAuthService(webService, networkService);
});