Class UsernamePasswordCredentials

Simple ProxyAuthenticationCredentials implementation based on a username and password.

Implements

Constructors

Properties

Accessors

Constructors

  • Constructs an instance of UsernamePasswordCredentials.

    Parameters

    • params: {
          password: string;
          username: string;
      }

      The parameters for constructing an instance of UsernamePasswordCredentials.

      • password: string

        Password. Cannot be undefined.

      • username: string

        Username. Cannot be undefined.

    Returns UsernamePasswordCredentials

Properties

_password: string
_username: string

Accessors

  • get password(): string
  • Returns the password.

    Returns string

    A String denoting password

  • get username(): string
  • Returns the username.

    Returns string

    A String denoting username

Generated using TypeDoc