10 lines
202 B
Go
10 lines
202 B
Go
|
package bind
|
||
|
|
||
|
import "github.com/nmcclain/ldap"
|
||
|
|
||
|
type Binder interface {
|
||
|
GetUsername(string) (string, error)
|
||
|
Bind(username string, req *Request) (ldap.LDAPResultCode, error)
|
||
|
TimerFlowCacheExpiry()
|
||
|
}
|