Show / Hide Table of Contents

Class BasicAuthenticator

An object that will authenticate a Replicator using HTTP Basic authentication

Inheritance
object
Authenticator
BasicAuthenticator
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Couchbase.Lite.Sync
Assembly: Couchbase.Lite.dll
Syntax
public sealed class BasicAuthenticator : Authenticator

Constructors

| Improve this Doc View Source

BasicAuthenticator(string, SecureString)

Construct a basic authenticator with username and password

Declaration
public BasicAuthenticator(string username, SecureString password)
Parameters
Type Name Description
string username

The username to send through HTTP Basic authentication

SecureString password

The password to send through HTTP Basic authentication

| Improve this Doc View Source

BasicAuthenticator(string, string)

[DEPRECATED] Constructor

Declaration
[Obsolete("This constructor is deprecated, please use BasicAuthenticator([NotNull]string username, [NotNull]SecureString password) instead.")]
public BasicAuthenticator(string username, string password)
Parameters
Type Name Description
string username

The username to send through HTTP Basic authentication

string password

The password to send through HTTP Basic authentication

Properties

| Improve this Doc View Source

Password

[DEPRECATED] Gets the password that this object holds

Declaration
[Obsolete("This property is deprecated, please use SecureString PasswordSecureString instead.")]
public string Password { get; }
Property Value
Type Description
string
| Improve this Doc View Source

PasswordSecureString

Gets the password that this object holds

Declaration
public SecureString PasswordSecureString { get; }
Property Value
Type Description
SecureString
| Improve this Doc View Source

Username

Gets the username that this object holds

Declaration
public string Username { get; }
Property Value
Type Description
string
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX