Click or drag to resize

UtilityCreateAuthorization Method

Create basic authentication header data for REST requests.

Namespace:  IBM.Watson.DeveloperCloud.Utilities
Assembly:  unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static string CreateAuthorization(
	string username,
	string password
)

Parameters

username
Type: SystemString
The username to be encoded.
password
Type: SystemString
The password to be encoded.

Return Value

Type: String
The authentication data base64 encoded.
See Also