Package com.auth0.client
Class ProxyOptions
java.lang.Object
com.auth0.client.ProxyOptions
Used to configure Java Proxy-related configurations.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGetter of the authentication value to use for this Proxy.getProxy()
Getter of the Proxy instance to setvoid
setBasicAuthentication
(String username, char[] password) Setter that builds the authentication value to use for this Proxy.
-
Constructor Details
-
ProxyOptions
Builds a new instance using the given Proxy. The Proxy will not have authentication unlesssetBasicAuthentication(String, char[])
is set.- Parameters:
proxy
- the Proxy to use.
-
-
Method Details
-
setBasicAuthentication
Setter that builds the authentication value to use for this Proxy.- Parameters:
username
- the username to use.password
- the password to use.
-
getProxy
Getter of the Proxy instance to set- Returns:
- the Proxy instance to set
-
getBasicAuthentication
Getter of the authentication value to use for this Proxy.- Returns:
- the authentication value to use for this Proxy, or null if unset.
-