types

package
v0.0.0-...-7cdc305 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2025 License: AGPL-3.0 Imports: 1 Imported by: 0

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
}

type GroupCN

type GroupCN string

func (GroupCN) String

func (g GroupCN) String() string

type Username

type Username string

func (Username) String

func (u Username) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL