modules/auth/domain/domain library
Classes
- ApiService
- Service for
- AuthService
- Service for authenticating users.
- InsuffcientPermissionsReason
- If AuthException.reason is InsuffcientPermissionsReason, the user does not have the required permissions to use the webservice and thus is not allowed to authenticate.
- Token
- A token to authenticate with a Webservice.
- User
- A user using the application.
- UserDatasource
- Datasource for fetching user data.
Enums
- UserCapability
- Represents the different capabilities a user can possess within the application.
- Vintage
- Represents a "Jahrgang" (grade level or class year) in a high school context. Used to denote the year group (or class) of students within a high school.
- Webservice
- An API endpoint exposed by a moodle plugin.
Extensions
-
UserCapabilitiesExtension
on List<
UserCapability> - Provides helper methods for List<UserCapability>.
- UserCapabilityExtension on UserCapability
- Provides helper methods for UserCapability.
Exceptions / Errors
- ApiServiceException
- An exception thrown when ApiService.callFunction fails.
- AuthException
- An exception thrown when AuthService.authenticate fails.