Files
netbird/management/server
Misha Bragin 3fc89749c1 Add peer login expiration (#682)
This PR adds a peer login expiration logic that requires
peers created by a user to re-authenticate (re-login) after
a certain threshold of time (24h by default).

The Account object now has a PeerLoginExpiration
property that indicates the duration after which a peer's
login will expire and a login will be required. Defaults to 24h.

There are two new properties added to the Peer object:
LastLogin that indicates the last time peer successfully used
the Login gRPC endpoint and LoginExpirationEnabled that
enables/disables peer login expiration.

The login expiration logic applies only to peers that were created
by a user and not those that were added with a setup key.
2023-02-13 12:21:02 +01:00
..
2023-01-25 16:29:59 +01:00
2022-10-22 13:29:39 +02:00
2022-10-22 15:06:54 +02:00
2023-02-13 12:21:02 +01:00
2023-02-03 21:47:20 +01:00
2023-02-13 12:21:02 +01:00
2023-02-13 12:21:02 +01:00
2023-01-25 16:29:59 +01:00
2023-02-13 12:21:02 +01:00
2023-02-13 12:21:02 +01:00