Class Base64Helper
java.lang.Object
io.camunda.connector.http.base.authentication.Base64Helper
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringbuildBasicAuthenticationHeader(String username, String password) Builds a basic authentication header value.
-
Method Details
-
buildBasicAuthenticationHeader
Builds a basic authentication header value. The output is a string that can be used as the value of the "Authorization" header. It is in the format "Basic base64(username:password)".- Parameters:
username- the usernamepassword- the password- Returns:
- the basic authentication header value in the format "Basic base64(username:password)"
-