Skip to content

Commit 1675a66

Browse files
committed
Add PasswordAuthenticator godoc
1 parent 5a6f5a1 commit 1675a66

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

conn.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ type Authenticator interface {
7272
Success(data []byte) error
7373
}
7474

75+
// PasswordAuthenticator specifies credentials to be used when authenticating.
76+
// It can be configured with an "allow list" of authenticator class names to avoid
77+
// attempting to authenticate with Cassandra if it doesn't provide an expected authenticator.
7578
type PasswordAuthenticator struct {
7679
Username string
7780
Password string

0 commit comments

Comments
 (0)