Type alias BasicAuthCredentials

BasicAuthCredentials: {
    password?: string;
    username: string;
}

Credentials for HTTP Basic authentication.

Type declaration

  • Optional password?: string

    Password to use for authentication. Defaults to an empty string.

  • username: string

    Username to use for authentication, e.g. "root".