httpBasicAuthHeader

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !

Availability

This routine is available starting with SIL Engine™ 4.1.0.

Syntax

httpBasicAuthHeader(username, password)

Description

Creates an 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