basicAuthentication

Builds an Authorization header value for HTTP Basic authentication.

Return

fixed Authorization header carrying the encoded Basic credentials.

Parameters

username

username portion of the credential pair.

password

password portion of the credential pair.