Class HttpBasicAuth
java.lang.Object
com.okta.sdk.resource.client.auth.HttpBasicAuth
- All Implemented Interfaces:
Authentication
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class HttpBasicAuth
extends Object
implements Authentication
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyToParams
(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams) Apply authentication settings to header and query params.void
setPassword
(String password) void
setUsername
(String username)
-
Constructor Details
-
HttpBasicAuth
public HttpBasicAuth()
-
-
Method Details
-
getUsername
-
setUsername
-
getPassword
-
setPassword
-
applyToParams
public void applyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams) Description copied from interface:Authentication
Apply authentication settings to header and query params.- Specified by:
applyToParams
in interfaceAuthentication
- Parameters:
queryParams
- List of query parametersheaderParams
- Map of header parameterscookieParams
- Map of cookie parameters
-