Class NoneAuthProvider
A provider that provides no authentication capability.
This is only useful as a placeholder when no authentication is to be used.
Implements
Inherited Members
Namespace: Cassandra
Assembly: Cassandra.dll
Syntax
public class NoneAuthProvider : IAuthProvider
Fields
Instance
Declaration
public static readonly NoneAuthProvider Instance
Field Value
Type | Description |
---|---|
NoneAuthProvider |
Methods
NewAuthenticator(IPEndPoint)
The IAuthenticator to use when connecting to host.
Declaration
public 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. |
SetName(string)
Sets the authenticator name from Cassandra.
This method is guaranteed to be called before NewAuthenticator(IPEndPoint).
Declaration
public void SetName(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name |