Skip to end of banner
Go to start of banner

httpBasicAuthHeader

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Availability

This routine is available starting with katl-commons 4.0.17

Syntax

httpBasicAuthHeader(username, password)

Description

Creates a HttpHeader object to be used as Authorization header for a Basic authentication of a user.

Parameters

Parameter name

Type

Required

Description

username

string

Yes

The username.

passwordstringYesThe password.

Return type

HttpHeader

Example

HttpHeader authHeader = httpBasicAuthHeader("admin", "admin");


See also


  • No labels