Interface IAuthProvider
Provides IAuthenticator instances for use when connecting to Cassandra nodes. See PlainTextAuthProvider for an implementation which uses SASL PLAIN mechanism to authenticate using username/password strings.
Namespace: Cassandra
Assembly: Cassandra.dll
Syntax
public interface IAuthProvider
Methods
NewAuthenticator(IPEndPoint)
The IAuthenticator to use when connecting to host.
Declaration
IAuthenticator NewAuthenticator(IPEndPoint host)
Parameters
Type | Name | Description |
---|---|---|
IPEndPoint | host | The Cassandra host to connect to. |
Returns
Type | Description |
---|---|
IAuthenticator | The authentication instance to use. |