ldap集成
fanux opened this issue · comments
fanux commented
type Authenticater interface {
Authenticat(user, passwd string) *UserInfo //失败返回nil 成功返回用户信息
}
auth目录下新建ldap.go 实现该接口,再来个NewLdap函数
cuisongliu commented
@dujiacheng UserInfo 在user.go ,Authenticater 接口在authenticate.go 。你可以先写实现。