summaryrefslogtreecommitdiff
path: root/lib/services/authentication_service.dart
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2022-11-05 16:31:35 +0100
committerAldrik Ramaekers <aldrik@amftech.nl>2022-11-05 16:31:35 +0100
commite938da92fa92f6c7036934dd5e673c5b9df68f4f (patch)
tree782be83b543a69c050c4aee2f56ebd18a04e8fb1 /lib/services/authentication_service.dart
parent0b0168ac91c9b7f7896cb89436aa1dcf90605cf3 (diff)
work
Diffstat (limited to 'lib/services/authentication_service.dart')
-rw-r--r--lib/services/authentication_service.dart4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/services/authentication_service.dart b/lib/services/authentication_service.dart
index a1fd370..ede8808 100644
--- a/lib/services/authentication_service.dart
+++ b/lib/services/authentication_service.dart
@@ -1,10 +1,14 @@
class AuthenticationService {
bool isAuthenticated = false;
String apiKey = '';
+ String storedPNumber = '';
+ String storedDaycode = '';
Future<bool> authenticate(String username, String password) async {
isAuthenticated = true;
apiKey = 'test';
+ storedPNumber = username;
+ storedDaycode = password;
return true;
}
}