0ce41a1b2d
* providers/ldap: add StartTLS support Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add starttls test Signed-off-by: Jens Langhammer <jens@goauthentik.io> * update form and docs Signed-off-by: Jens Langhammer <jens@goauthentik.io> * re-add tls server name Signed-off-by: Jens Langhammer <jens@goauthentik.io> * update release notes Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
15 lines
292 B
Go
15 lines
292 B
Go
package bind
|
|
|
|
import (
|
|
"context"
|
|
|
|
"beryju.io/ldap"
|
|
)
|
|
|
|
type Binder interface {
|
|
GetUsername(string) (string, error)
|
|
Bind(username string, req *Request) (ldap.LDAPResultCode, error)
|
|
Unbind(username string, req *Request) (ldap.LDAPResultCode, error)
|
|
TimerFlowCacheExpiry(context.Context)
|
|
}
|