netbird/management/server
Maycon Santos fd7282d3cf
Link account id with the external user store (#184)
* get account id from access token claim

* use GetOrCreateAccountByUser and add test

* correct account id claim

* remove unused account

* Idp manager interface

* auth0 idp manager

* use if instead of switch case

* remove unnecessary lock

* NewAuth0Manager

* move idpmanager to its own package

* update metadata when accountId is not supplied

* update tests with idpmanager field

* format

* new idp manager and config support

* validate if we fetch the interface before converting to string

* split getJWTToken

* improve tests

* proper json fields and handle defer body close

* fix ci lint notes

* documentation and proper defer position

* UpdateUserAppMetadata tests

* update documentation

* ManagerCredentials interface

* Marshal and Unmarshal functions

* fix tests

* ManagerHelper and ManagerHTTPClient

* further tests with mocking

* rename package and custom http client

* sync local packages

* remove idp suffix
2022-01-24 11:21:30 +01:00
..
http Link account id with the external user store (#184) 2022-01-24 11:21:30 +01:00
idp Link account id with the external user store (#184) 2022-01-24 11:21:30 +01:00
migration Refactor: support multiple users under the same account (#170) 2021-12-27 13:17:15 +01:00
testdata Link account id with the external user store (#184) 2022-01-24 11:21:30 +01:00
account_test.go Link account id with the external user store (#184) 2022-01-24 11:21:30 +01:00
account.go Link account id with the external user store (#184) 2022-01-24 11:21:30 +01:00
config.go Link account id with the external user store (#184) 2022-01-24 11:21:30 +01:00
file_store_test.go Management - add serial to Network reflecting network updates (#179) 2022-01-14 14:34:27 +01:00
file_store.go Refactor: support multiple users under the same account (#170) 2021-12-27 13:17:15 +01:00
grpcserver.go Change Management Sync protocol to support incremental (serial) network changes (#191) 2022-01-16 17:10:36 +01:00
management_proto_test.go Link account id with the external user store (#184) 2022-01-24 11:21:30 +01:00
management_suite_test.go Move management server to a separate directory (#67) 2021-07-24 16:14:29 +02:00
management_test.go Link account id with the external user store (#184) 2022-01-24 11:21:30 +01:00
network.go Change Management Sync protocol to support incremental (serial) network changes (#191) 2022-01-16 17:10:36 +01:00
peer_test.go Change Management Sync protocol to support incremental (serial) network changes (#191) 2022-01-16 17:10:36 +01:00
peer.go Change Management Sync protocol to support incremental (serial) network changes (#191) 2022-01-16 17:10:36 +01:00
setupkey_test.go feature: add update setup key endpoint 2021-08-20 22:33:43 +02:00
setupkey.go fix: minor HTTP bugs 2021-08-25 14:16:17 +02:00
store.go Refactor: support multiple users under the same account (#170) 2021-12-27 13:17:15 +01:00
turncredentials_test.go client update of TURNs and STUNs (#106) 2021-09-03 17:47:40 +02:00
turncredentials.go client update of TURNs and STUNs (#106) 2021-09-03 17:47:40 +02:00
updatechannel_test.go abstract peer channel (#101) 2021-08-29 17:48:31 +02:00
updatechannel.go abstract peer channel (#101) 2021-08-29 17:48:31 +02:00
user.go Management - add serial to Network reflecting network updates (#179) 2022-01-14 14:34:27 +01:00