inventree-app/lib/settings
Oliver 76b6191a67
Token auth (#434)
* Embed device platform information into token request

* Remove username and password from userProfile

* Display icon to show if profile has associated user token

* Remove username / password from login settings screen

* Refactor login procedure around token auth

* Refactoring

* Add profile login screen

- Username / password values are not stored
- Just to fetch api token

* Login with basic auth

* Pass profile to API when connecting

* Remove _BASE_URL accessor

- Fixes URL caching bug

* Add more context to login screen

* Add helper functions for unit tests

- Change default port to 8000 (makes testing easier with local inventree instance)

* api.dart handles basic auth now

* fix api_test.dart

* Further test improvements

* linting fixes

* Provide feedback when login fails

* More linting

* Record user details on login, and display in "about" widget

* Fix string lookup

* Add extra debug

* Fix auth values

* Fix user profile test
2023-10-23 01:29:16 +11:00
..
about.dart Token auth (#434) 2023-10-23 01:29:16 +11:00
app_settings.dart Translation fix (#424) 2023-09-20 08:37:48 +10:00
barcode_settings.dart Barcode refactor (#363) 2023-06-11 09:41:26 +10:00
home_settings.dart Updated dependencies (#255) 2023-02-11 00:24:06 +11:00
login.dart Token auth (#434) 2023-10-23 01:29:16 +11:00
part_settings.dart Stock test actions (#345) 2023-04-28 23:27:59 +10:00
release.dart Code Cleanup (#312) 2023-04-11 22:38:57 +10:00
select_server.dart Token auth (#434) 2023-10-23 01:29:16 +11:00
settings.dart Token auth (#434) 2023-10-23 01:29:16 +11:00