Skip to content

Commit f5d7636

Browse files
authored
Add missing Client interface methods (#374)
1 parent 898ed3e commit f5d7636

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

client.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,14 @@ type Client interface {
1212
Close()
1313
IsClosing() bool
1414
SetTimeout(time.Duration)
15+
TLSConnectionState() (tls.ConnectionState, bool)
1516

1617
Bind(username, password string) error
1718
UnauthenticatedBind(username string) error
1819
SimpleBind(*SimpleBindRequest) (*SimpleBindResult, error)
1920
ExternalBind() error
21+
NTLMUnauthenticatedBind(domain, username string) error
22+
Unbind() error
2023

2124
Add(*AddRequest) error
2225
Del(*DelRequest) error

v3/client.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,14 @@ type Client interface {
1212
Close()
1313
IsClosing() bool
1414
SetTimeout(time.Duration)
15+
TLSConnectionState() (tls.ConnectionState, bool)
1516

1617
Bind(username, password string) error
1718
UnauthenticatedBind(username string) error
1819
SimpleBind(*SimpleBindRequest) (*SimpleBindResult, error)
1920
ExternalBind() error
21+
NTLMUnauthenticatedBind(domain, username string) error
22+
Unbind() error
2023

2124
Add(*AddRequest) error
2225
Del(*DelRequest) error

0 commit comments

Comments
 (0)