Skip to content

Commit

Permalink
Add missing Client interface methods (go-ldap#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpuschma committed Apr 25, 2022
1 parent 1b79f60 commit a4f752b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@ type Client interface {
Close()
IsClosing() bool
SetTimeout(time.Duration)
TLSConnectionState() (tls.ConnectionState, bool)

Bind(username, password string) error
UnauthenticatedBind(username string) error
SimpleBind(*SimpleBindRequest) (*SimpleBindResult, error)
ExternalBind() error
NTLMUnauthenticatedBind(domain, username string) error
Unbind() error

Add(*AddRequest) error
Del(*DelRequest) error
Expand Down
3 changes: 3 additions & 0 deletions v3/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@ type Client interface {
Close()
IsClosing() bool
SetTimeout(time.Duration)
TLSConnectionState() (tls.ConnectionState, bool)

Bind(username, password string) error
UnauthenticatedBind(username string) error
SimpleBind(*SimpleBindRequest) (*SimpleBindResult, error)
ExternalBind() error
NTLMUnauthenticatedBind(domain, username string) error
Unbind() error

Add(*AddRequest) error
Del(*DelRequest) error
Expand Down

0 comments on commit a4f752b

Please sign in to comment.