Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DirectoryService ¶
type DirectoryService interface {
IsMember(ctx context.Context, username string) (bool, error)
// CreateUser creates a user and returns the normalized username or an error
CreateUser(ctx context.Context, username string, password string, email string) (string, error)
AddUserToGroup(ctx context.Context, username Username, groupCn GroupCN) error
RemoveUserFromGroup(ctx context.Context, username Username, groupCn GroupCN) error
}
Click to show internal directories.
Click to hide internal directories.