Uses of Interface
com.okta.authn.sdk.client.AuthenticationClientBuilder
-
Uses of AuthenticationClientBuilder in com.okta.authn.sdk.client
Modifier and TypeMethodDescriptionstatic AuthenticationClientBuilder
AuthenticationClients.builder()
Returns a newAuthenticationClientBuilder
instance, used to constructAuthenticationClient
instances.AuthenticationClientBuilder.setConnectionTimeout
(int timeout) Sets both the timeout until a connection is established and the socket timeout (i.e.Sets the base URL of the Okta REST API to use.AuthenticationClientBuilder.setProxy
(com.okta.commons.http.config.Proxy proxy) Sets the HTTP proxy to be used when communicating with the Okta API server.AuthenticationClientBuilder.setRetryMaxAttempts
(int maxAttempts) Sets the maximum number of attempts to retrying before giving up.AuthenticationClientBuilder.setRetryMaxElapsed
(int maxElapsed) Sets the maximum number of milliseconds to wait when retrying before giving up. -
Uses of AuthenticationClientBuilder in com.okta.authn.sdk.impl.client
Modifier and TypeMethodDescriptionDefaultAuthenticationClientBuilder.setBaseUrlResolver
(com.okta.commons.http.config.BaseUrlResolver baseUrlResolver) DefaultAuthenticationClientBuilder.setConnectionTimeout
(int timeout) DefaultAuthenticationClientBuilder.setProxy
(com.okta.commons.http.config.Proxy proxy) DefaultAuthenticationClientBuilder.setRetryMaxAttempts
(int maxAttempts) DefaultAuthenticationClientBuilder.setRetryMaxElapsed
(int maxElapsed)