Skip to main content
Version: 2025.2

UrlAuthConfig

Configuration Object for UrlAuth. In contrast to basic auth, the authentication is done by adding username and password in the URL.

Methods​

getPassword​

getPassword(): string

Returns the password.

Returns​

string

the password


getUserName​

getUserName(): string

Return the user name-

Returns​

string

the user name


password​

password(pPassword): UrlAuthConfig

The password for url authentication.

Parameters​

pPassword
string | number | boolean

the password

Returns​

UrlAuthConfig

UrlAuthConfig


userName​

userName(pName): UrlAuthConfig

The user name for url authentication.

Parameters​

pName
string | number | boolean

the user name

Returns​

UrlAuthConfig

UrlAuthConfig