Search Results for

    Show / Hide Table of Contents

    Class BasicAuthenticationCredentials

    Credentials for Basic Authentication

    Inheritance
    object
    BasicAuthenticationCredentials
    Implements
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Net
    Assembly: OpenSearch.Net.dll
    Syntax
    public class BasicAuthenticationCredentials : IDisposable

    Constructors

    | Edit this page View Source

    BasicAuthenticationCredentials()

    Declaration
    public BasicAuthenticationCredentials()
    | Edit this page View Source

    BasicAuthenticationCredentials(string, SecureString)

    Declaration
    public BasicAuthenticationCredentials(string username, SecureString password)
    Parameters
    Type Name Description
    string username
    SecureString password
    | Edit this page View Source

    BasicAuthenticationCredentials(string, string)

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

    Properties

    | Edit this page View Source

    Password

    The password with which to authenticate

    Declaration
    public SecureString Password { get; set; }
    Property Value
    Type Description
    SecureString
    | Edit this page View Source

    Username

    The username with which to authenticate

    Declaration
    public string Username { get; set; }
    Property Value
    Type Description
    string

    Methods

    | Edit this page View Source

    Dispose()

    Declaration
    public void Dispose()

    Implements

    IDisposable

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Constructors
      • BasicAuthenticationCredentials()
      • BasicAuthenticationCredentials(string, SecureString)
      • BasicAuthenticationCredentials(string, string)
    • Properties
      • Password
      • Username
    • Methods
      • Dispose()
    • Implements
    • Extension Methods
    Back to top Generated by DocFX