diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2022-11-05 15:58:05 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2022-11-05 15:58:05 +0100 |
| commit | 0b0168ac91c9b7f7896cb89436aa1dcf90605cf3 (patch) | |
| tree | e6c25a6c618c6132c86d7133ae82554784213257 /lib/services/authentication_service.dart | |
| parent | d3bf422afa275f8264a85c48c639576839f2f320 (diff) | |
fix shift delete bug
Diffstat (limited to 'lib/services/authentication_service.dart')
| -rw-r--r-- | lib/services/authentication_service.dart | 10 |
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; + } +} |
