Skip to main content
Version: 2026.0

BasicAuthConfig

Configuration Object for BasicAuth.

Methods

getPassword

getPassword(): string

Returns the password.

Returns

string

the password


getUserName

getUserName(): string

Returns the user name.

Returns

string

the user name


password

password(pPassword): BasicAuthConfig

Sets the password for basic authentication.

Parameters

pPassword
string | number | boolean

the password

Returns

BasicAuthConfig

BasicAuthConfig


userName

userName(pName): BasicAuthConfig

Sets the user name for basic authentication.

Parameters

pName
string | number | boolean

the user name

Returns

BasicAuthConfig

BasicAuthConfig