Info | ||
---|---|---|
| ||
This routine is available starting with SIL Engine™ 4.1.0. |
Syntax
httpBasicAuthHeader(username, password)
Description
Excerpt |
---|
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. |
password | string | Yes | The password. |
Return type
HttpHeader
Example
Code Block |
---|
HttpHeader authHeader = httpBasicAuthHeader("admin", "admin"); |
See also
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|
...