PlainTextAuthProvider Class |
This provider allows to programmatically define authentication information that will then apply to all hosts. The PlainTextAuthenticator instances it returns support SASL authentication using the PLAIN mechanism for version 2 or above of the CQL native protocol.
Namespace: Cassandra
public class PlainTextAuthProvider : IAuthProvider
The PlainTextAuthProvider type exposes the following members.
Name | Description | |
---|---|---|
PlainTextAuthProvider |
Creates a new simple authentication information provider with the supplied
credentials.
|
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 |
Uses the supplied credentials and the SASL PLAIN mechanism to login to the server.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |