Click or drag to resize
PlainTextAuthProvider Class
A simple IAuthProvider implementation.

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.

Inheritance Hierarchy
SystemObject
  CassandraPlainTextAuthProvider

Namespace: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 3.2.0
Syntax
C#
public class PlainTextAuthProvider : IAuthProvider

The PlainTextAuthProvider type exposes the following members.

Constructors
  NameDescription
Public methodPlainTextAuthProvider
Creates a new simple authentication information provider with the supplied credentials.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodNewAuthenticator
Uses the supplied credentials and the SASL PLAIN mechanism to login to the server.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also