Pair<String, String> basicAuthHeader(String user, String pwd)
Arguments
user: The usernamepwd: The password
Usage
Creates an authentication header suitable for HTTP Basic Auth. The username may not contain a ':' character. Remember that this form of authentication is very insecure, and so should only be used over secure connections.