Class HttpBasicAuth
java.lang.Object
travel.wink.sdk.channel.manager.invoker.auth.HttpBasicAuth
- All Implemented Interfaces:
Authentication
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-08-12T22:09:55.694464190+07:00[Asia/Bangkok]")
public class HttpBasicAuth
extends Object
implements Authentication
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyToParams(org.springframework.util.MultiValueMap<String, String> queryParams, org.springframework.http.HttpHeaders headerParams, org.springframework.util.MultiValueMap<String, String> cookieParams) Apply authentication settings to header and / or query parameters.voidsetPassword(String password) voidsetUsername(String username)
-
Constructor Details
-
HttpBasicAuth
public HttpBasicAuth()
-
-
Method Details
-
getUsername
-
setUsername
-
getPassword
-
setPassword
-
applyToParams
public void applyToParams(org.springframework.util.MultiValueMap<String, String> queryParams, org.springframework.http.HttpHeaders headerParams, org.springframework.util.MultiValueMap<String, String> cookieParams) Description copied from interface:AuthenticationApply authentication settings to header and / or query parameters.- Specified by:
applyToParamsin interfaceAuthentication- Parameters:
queryParams- The query parameters for the requestheaderParams- The header parameters for the requestcookieParams- The cookie parameters for the request
-