Skip to content

Commit 5a6f5a1

Browse files
committed
Add comment to ApprovedAuthenticators
1 parent 6c27717 commit 5a6f5a1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

conn.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,9 @@ type Authenticator interface {
7373
}
7474

7575
type PasswordAuthenticator struct {
76-
Username string
77-
Password string
76+
Username string
77+
Password string
78+
// Setting this to nil or empty will allow any authenticator provided by the server.
7879
AllowedAuthenticators []string
7980
}
8081

0 commit comments

Comments
 (0)