netmaker/pro/idp/idp.go

20 lines
340 B
Go

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