summaryrefslogtreecommitdiff
path: root/lib/services/authentication_service.dart
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2022-11-05 15:58:05 +0100
committerAldrik Ramaekers <aldrik@amftech.nl>2022-11-05 15:58:05 +0100
commit0b0168ac91c9b7f7896cb89436aa1dcf90605cf3 (patch)
treee6c25a6c618c6132c86d7133ae82554784213257 /lib/services/authentication_service.dart
parentd3bf422afa275f8264a85c48c639576839f2f320 (diff)
fix shift delete bug
Diffstat (limited to 'lib/services/authentication_service.dart')
-rw-r--r--lib/services/authentication_service.dart10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/services/authentication_service.dart b/lib/services/authentication_service.dart
new file mode 100644
index 0000000..a1fd370
--- /dev/null
+++ b/lib/services/authentication_service.dart
@@ -0,0 +1,10 @@
+class AuthenticationService {
+ bool isAuthenticated = false;
+ String apiKey = '';
+
+ Future<bool> authenticate(String username, String password) async {
+ isAuthenticated = true;
+ apiKey = 'test';
+ return true;
+ }
+}