diff options
author | sowgro <tpoke.ferrari@gmail.com> | 2025-03-02 11:22:48 -0500 |
---|---|---|
committer | sowgro <tpoke.ferrari@gmail.com> | 2025-03-02 11:22:48 -0500 |
commit | c02c47efcb00782feb1461534923023a711d4f15 (patch) | |
tree | 8c59e17bc6039d76d0b9522e2535a49a33b3d340 /ufund-api/data | |
parent | 8e93fe31c81c4c36e66c48e7efcdbfedb1877385 (diff) | |
download | JellySolutions-c02c47efcb00782feb1461534923023a711d4f15.tar.gz JellySolutions-c02c47efcb00782feb1461534923023a711d4f15.tar.bz2 JellySolutions-c02c47efcb00782feb1461534923023a711d4f15.zip |
First attempt at an authentication system.
Diffstat (limited to 'ufund-api/data')
-rw-r--r-- | ufund-api/data/cupboard.json | 9 | ||||
-rw-r--r-- | ufund-api/data/userAuths.json | 7 | ||||
-rw-r--r-- | ufund-api/data/users.json | 13 |
3 files changed, 27 insertions, 2 deletions
diff --git a/ufund-api/data/cupboard.json b/ufund-api/data/cupboard.json index bb7ec03..abba017 100644 --- a/ufund-api/data/cupboard.json +++ b/ufund-api/data/cupboard.json @@ -1,3 +1,10 @@ [ - {"name":"Money for coral","id":1,"maxGoal":100.0,"type":"MONETARY","filterAttributes":null,"Current":0.0} + { + "name": "Money for coral", + "id": 1, + "maxGoal": 100.0, + "type": "MONETARY", + "filterAttributes": null, + "Current": 0.0 + } ]
\ No newline at end of file diff --git a/ufund-api/data/userAuths.json b/ufund-api/data/userAuths.json new file mode 100644 index 0000000..e451862 --- /dev/null +++ b/ufund-api/data/userAuths.json @@ -0,0 +1,7 @@ +[ + { + "key": "eeea7b02-7265-4a26-96de-a8ad1860c533", + "username": "phil", + "expiration": "2025-03-31T23:04:47.455490668" + } +]
\ No newline at end of file diff --git a/ufund-api/data/users.json b/ufund-api/data/users.json index 4e98a14..ae575b1 100644 --- a/ufund-api/data/users.json +++ b/ufund-api/data/users.json @@ -1 +1,12 @@ -[{"name":"steve","password":null}]
\ No newline at end of file +[ + { + "username": "phil", + "passwordHash": -1054080181, + "basket": [] + }, + { + "username": "tbone", + "passwordHash": 97526364, + "basket": [] + } +]
\ No newline at end of file |