Package com.softlayer.api.http
Class HttpBasicAuthCredentials
java.lang.Object
com.softlayer.api.http.HttpBasicAuthCredentials
- All Implemented Interfaces:
HttpCredentials
public class HttpBasicAuthCredentials extends Object implements HttpCredentials
HTTP basic authorization support for username and API key
-
Field Summary
-
Constructor Summary
Constructors Constructor Description HttpBasicAuthCredentials(String username, String apiKey)
-
Method Summary
-
Field Details
-
Constructor Details
-
Method Details
-
getHeader
Gets the encoded representation of the basic authentication credentials for use in an HTTP Authorization header.- Returns:
- String
-