Michael Bumann
e33693398e
Soft delete users ( #476 )
...
* Update Makefile
* Optionally load test DB from env variable
* Add option to soft-delete a user
This allows users to be marked as deleted.
An additional middleware checks if a user is deleted or deactivated and rejects
requests for those as StatusUnauthorized.
note: the middelware adds an additional DB query to load the user.
2024-01-09 19:38:01 +02:00
kiwiidb
def32f2d45
move pubkey checks to lnd client
2023-06-22 16:13:36 +02:00
kiwiidb
4f006717fa
implement deactivation & add route
2023-05-24 12:31:50 +02:00
Lucas Rouckhout
dbe5ce83a3
WIP SACE
2023-03-04 17:52:03 +01:00
kiwiidb
a5ae01a5f2
add proper pubsub
2022-04-06 18:00:04 +02:00
kiwiidb
93ad471dac
feature: settled invoice stream
2022-03-20 13:17:38 +01:00
Stefan Kostic
4c379fc856
Implement refresh token case in auth service
2022-02-24 21:18:41 +01:00
Stefan Kostic
4d0300a330
Set different expiry for access and refresh tokens
2022-02-24 20:46:05 +01:00
kiwiidb
20610aef06
remove btcec dependency
2022-02-15 17:24:57 +01:00
Stefan Kostic
0da4b359d6
Pass in ctx as service methods first argument
2022-02-08 13:35:02 +01:00
kiwiidb
c3bec5f80c
chore: wrap LND client
2022-02-04 12:13:40 +01:00
Michael Bumann
12dbb48c8d
First draft to subscribe for LND invoice update
2022-01-21 20:57:41 +01:00
Michael Bumann
2097807c85
Support Amount values as string/integer in request JSON
2022-01-21 11:15:35 +01:00
Michael Bumann
90a686677f
Save invoice destination
...
And save the node pubkey in the service to make it usable
2022-01-20 15:41:50 +01:00
kiwiidb
d3466aa0cc
remove pointer to interface
2022-01-20 13:24:59 +01:00
Michael Bumann
7bd74a69d8
User service for all user related functions
2022-01-19 21:16:20 +01:00
kiwiidb
2915d4a094
fix 2 bugs in create user func
2022-01-19 16:59:10 +01:00
kiwiidb
8eef14fccc
move service functions to service package
2022-01-19 16:10:55 +01:00