netmaker/pro/idp/idp.go
2025-07-20 15:28:23 +05:30

21 lines
324 B
Go

package idp
type Client interface {
Verify() error
GetUsers() ([]User, error)
GetGroups() ([]Group, error)
}
type User struct {
ID string
Username string
DisplayName string
AccountDisabled bool
AccountArchived bool
}
type Group struct {
ID string
Name string
Members []string
}