ldap-proxy/internal/ldap/type.go

20 lines
255 B
Go
Raw Normal View History

2020-08-21 02:03:53 -05:00
package ldap
import (
"context"
"github.com/hashicorp/go-hclog"
ldap "github.com/ps78674/ldapserver"
)
type naClient interface {
AuthEntity(context.Context, string, string) error
}
type server struct {
*ldap.Server
c naClient
l hclog.Logger
}