DsePlainTextAuthProvider Class |
Namespace: Dse.Auth
public class DsePlainTextAuthProvider : IAuthProviderNamed, IAuthProvider
The DsePlainTextAuthProvider type exposes the following members.
Name | Description | |
---|---|---|
DsePlainTextAuthProvider(String, String) |
Creates a new instance of DsePlainTextAuthProvider.
| |
DsePlainTextAuthProvider(String, String, String) |
Creates a new instance of DsePlainTextAuthProvider, enabling proxy authentication.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
NewAuthenticator |
The IAuthenticator to use when connecting to host.
| |
SetName | ||
ToString | Returns a string that represents the current object. (Inherited from Object.) |
var cluster = DseCluster.Builder() .AddContactPoint(h1) .WithAuthProvider(new DsePlainTextAuthProvider("user", "p@sword1")) .Build();