Class ProxyAuthenticator

java.lang.Object
com.couchbase.lite.internal.BaseAuthenticator
com.couchbase.lite.ProxyAuthenticator
All Implemented Interfaces:
Authenticator

public final class ProxyAuthenticator extends com.couchbase.lite.internal.BaseAuthenticator
  • Constructor Details

    • ProxyAuthenticator

      public ProxyAuthenticator(@NonNull String username, @NonNull char[] password)
  • Method Details

    • getUsername

      @NonNull public String getUsername()
      Get the username.
      Returns:
      the username
    • getPassword

      @NonNull public char[] getPassword()
      Get the password. The returned char[] is a copy: the owner is responsible for zeroing it before releasing it.
      Returns:
      the password.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object