java.lang.Object
java.net.Authenticator
it.auties.whatsapp.util.ProxyAuthenticator
-
Nested Class Summary
Nested classes/interfaces inherited from class java.net.Authenticator
Authenticator.RequestorType -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidallowAll()protected PasswordAuthenticationstatic Proxyprivate static OptionalIntgetProxyPort(String scheme, int port) static ProxyAuthenticatorvoidvoidunregister(URI uri) Methods inherited from class java.net.Authenticator
getDefault, getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthenticationInstance, setDefault
-
Field Details
-
instance
-
credentials
-
-
Constructor Details
-
ProxyAuthenticator
private ProxyAuthenticator()
-
-
Method Details
-
allowAll
public static void allowAll() -
getProxy
-
getProxyPort
-
globalAuthenticator
-
register
-
unregister
-
getPasswordAuthentication
- Overrides:
getPasswordAuthenticationin classAuthenticator
-