C# Class Dse.Auth.DsePlainTextAuthProvider

AuthProvider that provides plain text authenticator instances for clients to connect to DSE clusters secured with the DseAuthenticator.
Inheritance: IAuthProviderNamed
Datei anzeigen Open project: datastax/csharp-driver-dse Class Usage Examples

Public Methods

Method Description
DsePlainTextAuthProvider ( string username, string password ) : System

Creates a new instance of DsePlainTextAuthProvider

NewAuthenticator ( IPEndPoint host ) : IAuthenticator
SetName ( string name ) : void

Method Details

DsePlainTextAuthProvider() public method

Creates a new instance of DsePlainTextAuthProvider
public DsePlainTextAuthProvider ( string username, string password ) : System
username string
password string
return System

NewAuthenticator() public method

public NewAuthenticator ( IPEndPoint host ) : IAuthenticator
host System.Net.IPEndPoint
return IAuthenticator

SetName() public method

public SetName ( string name ) : void
name string
return void