generic

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generic

type Generic struct {
	Logger *logrus.Logger
	Config *config.Config
}

func (*Generic) Authenticate

func (g *Generic) Authenticate(ctx context.Context, bindDN string, bindPassword []byte) bool

func (*Generic) Authorize

func (g *Generic) Authorize(ctx context.Context, req *ldap.SearchRequest) ([]*ldap.SearchResult, error)

Jump to

Keyboard shortcuts

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