Method Detail

buildAuthHeader

Generate the payload of an authorization header given a username and
password.
Since our HTTP needs are modest in this library and our dependencies
are lightweight enough to not carry all of the auth capabilities, this
method will generate the payload needed for an authorization header.