netbird/management/server/mock_server
Misha Bragin fe63a64b6e
Add Account HTTP API (#691)
Extend HTTP API with Account endpoints to configure global peer login expiration.
GET /api/accounts
PUT /api/account/{id}/

The GET endpoint returns an array of accounts with
always one account in the list. No exceptions.

The PUT endpoint updates account settings:
PeerLoginExpiration and PeerLoginExpirationEnabled.

PeerLoginExpiration is a duration in seconds after which peers' logins will expire.
2023-02-16 12:00:41 +01:00
..
account_mock.go Add Account HTTP API (#691) 2023-02-16 12:00:41 +01:00
management_server_mock.go Get Device Authorization Flow information from management (#308) 2022-05-08 11:04:57 +02:00