Rewrite authentication flow (#2374)

This commit is contained in:
Kristoffer Dalby authored and GitHub committed 2025-02-01 09:16:51 +00:00
1 parent e172c29360
commit d57a55c024
20 files changed
+848 -996

No files matched your search

+2 -1
View File
@@ -17,7 +17,8 @@ type ControlServer interface {
WaitForRunning() error
CreateUser(user string) error
CreateAuthKey(user string, reusable bool, ephemeral bool) (*v1.PreAuthKey, error)
ListNodesInUser(user string) ([]*v1.Node, error)
ListNodes(users ...string) ([]*v1.Node, error)
ListUsers() ([]*v1.User, error)
GetCert() []byte
GetHostname() string
GetIP() string