ldap

package
v0.0.0-...-97303f7 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ldap

type Ldap struct {
	// contains filtered or unexported fields
}

Ldap is a struct to interact with the LDAP server.

func NewLdap

func NewLdap(logger *zap.Logger) *Ldap

NewLdap creates a new Ldap struct.

func (*Ldap) Search

func (l *Ldap) Search(username, password string) (*config.UserInformation, error)

Search searches for a user in the LDAP server and parses the data.

Jump to

Keyboard shortcuts

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