Package | Description |
---|---|
com.okta.authn.sdk.client | |
com.okta.authn.sdk.impl.client |
Modifier and Type | Method and Description |
---|---|
static AuthenticationClientBuilder |
AuthenticationClients.builder()
Returns a new
AuthenticationClientBuilder instance, used to construct AuthenticationClient instances. |
AuthenticationClientBuilder |
AuthenticationClientBuilder.setConnectionTimeout(int timeout)
Sets both the timeout until a connection is established and the socket timeout (i.e.
|
AuthenticationClientBuilder |
AuthenticationClientBuilder.setOrgUrl(String baseUrl)
Sets the base URL of the Okta REST API to use.
|
AuthenticationClientBuilder |
AuthenticationClientBuilder.setProxy(com.okta.sdk.client.Proxy proxy)
Sets the HTTP proxy to be used when communicating with the Okta API server.
|
AuthenticationClientBuilder |
AuthenticationClientBuilder.setRetryMaxAttempts(int maxAttempts)
Sets the maximum number of attempts to retrying before giving up.
|
AuthenticationClientBuilder |
AuthenticationClientBuilder.setRetryMaxElapsed(int maxElapsed)
Sets the maximum number of milliseconds to wait when retrying before giving up.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultAuthenticationClientBuilder
The default
AuthenticationClientBuilder implementation. |
Modifier and Type | Method and Description |
---|---|
AuthenticationClientBuilder |
DefaultAuthenticationClientBuilder.setBaseUrlResolver(com.okta.sdk.impl.util.BaseUrlResolver baseUrlResolver) |
AuthenticationClientBuilder |
DefaultAuthenticationClientBuilder.setConnectionTimeout(int timeout) |
AuthenticationClientBuilder |
DefaultAuthenticationClientBuilder.setOrgUrl(String baseUrl) |
AuthenticationClientBuilder |
DefaultAuthenticationClientBuilder.setProxy(com.okta.sdk.client.Proxy proxy) |
AuthenticationClientBuilder |
DefaultAuthenticationClientBuilder.setRetryMaxAttempts(int maxAttempts) |
AuthenticationClientBuilder |
DefaultAuthenticationClientBuilder.setRetryMaxElapsed(int maxElapsed) |
Copyright © 2018 Okta. All rights reserved.