PasswordAuthenticator class Authentication

Authenticator which uses an RBAC username and password to authenticate with a cluster.

Inheritance

Constructors

PasswordAuthenticator({required String username, required String password, List<String>? allowedSaslMechanisms})
const
PasswordAuthenticator.ldapCompatible({required String username, required String password})
Creates a LDAP compatible password authenticator which is insecure if not used with TLS.
const

Properties

allowedSaslMechanisms List<String>?
The SASL mechanisms to authenticate with.
final
hashCode int
The hash code for this object.
no setterinherited
password String
The password to authenticate with.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
username String
The username to authenticate with.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited