summaryrefslogtreecommitdiff
path: root/lib/services/authentication_service.dart
diff options
context:
space:
mode:
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;
+ }
+}