Class BasicAuthenticationCredentials
Credentials for Basic Authentication
Implements
Inherited Members
Namespace: OpenSearch .Net
Assembly: OpenSearch.Net.dll
Syntax
public class BasicAuthenticationCredentials : IDisposable
Constructors
| Edit this page View SourceBasicAuthenticationCredentials()
Declaration
public BasicAuthenticationCredentials()
BasicAuthenticationCredentials(string, SecureString)
Declaration
public BasicAuthenticationCredentials(string username, SecureString password)
Parameters
Type | Name | Description |
---|---|---|
string | username | |
Secure |
password |
BasicAuthenticationCredentials(string, string)
Declaration
public BasicAuthenticationCredentials(string username, string password)
Parameters
Properties
| Edit this page View SourcePassword
The password with which to authenticate
Declaration
public SecureString Password { get; set; }
Property Value
Type | Description |
---|---|
Secure |
Username
The username with which to authenticate
Declaration
public string Username { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
| Edit this page View SourceDispose()
Declaration
public void Dispose()