ldap

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: MIT Imports: 7 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 {
	Url      string
	BindUser string
	BindPass string
	BaseDn   string
	Filter   string
	Log      *logger.Logger
	Cache    *ttlcache.Cache[string, string]
}

func NewLdap

func NewLdap(log logger.Logger, url, bindUser, bindPass, baseDn, filter string) (*Ldap, error)

func (*Ldap) Valid

func (l *Ldap) Valid(user string, pass string) bool

Jump to

Keyboard shortcuts

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