Documentation ¶
Index ¶
- func NewFactory() (factory pkg.BackendFactory)
- type Backend
- func (backend *Backend) Authenticate(ctx context.Context, username string, password string) bool
- func (backend *Backend) Cleanup() error
- func (backend *Backend) Close()
- func (backend *Backend) CreateUser(name string, password string) error
- func (backend *Backend) GetUsers(ctx context.Context, f ldap.Filter) ([]*pkg.User, error)
- func (backend *Backend) Init() error
- func (backend *Backend) Name() (name string)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory() (factory pkg.BackendFactory)
Types ¶
type Backend ¶
type Backend struct {
// contains filtered or unexported fields
}
func NewBackend ¶
func (*Backend) Authenticate ¶
Click to show internal directories.
Click to hide internal directories.