Package | Description |
---|---|
com.okta.sdk.client |
Modifier and Type | Method and Description |
---|---|
static ClientBuilder |
Clients.builder()
Returns a new
ClientBuilder instance, used to construct ApiClient instances. |
ClientBuilder |
ClientBuilder.setAuthorizationMode(AuthorizationMode authorizationMode)
Overrides the default (very secure)
Okta SSWS Digest
Authentication Scheme used to authenticate every request sent to the Okta API server.
|
ClientBuilder |
ClientBuilder.setCacheManager(CacheManager cacheManager)
Sets the
CacheManager that should be used to cache Okta REST resources, reducing round-trips to the
Okta API server and enhancing application performance. |
ClientBuilder |
ClientBuilder.setClientCredentials(ClientCredentials clientCredentials)
Allows specifying an
ApiKey instance directly instead of relying on the
default location + override/fallback behavior defined in the documentation above . |
ClientBuilder |
ClientBuilder.setClientId(java.lang.String clientId)
Allows specifying the client ID instead of relying on the default location + override/fallback behavior defined
in the
documentation above . |
ClientBuilder |
ClientBuilder.setConnectionTimeout(int timeout)
Sets both the timeout until a connection is established and the socket timeout (i.e.
|
ClientBuilder |
ClientBuilder.setKid(java.lang.String kid)
Allows specifying the Key ID (kid) instead of relying on the YAML config.
|
ClientBuilder |
ClientBuilder.setOrgUrl(java.lang.String baseUrl)
Sets the base URL of the Okta REST API to use.
|
ClientBuilder |
ClientBuilder.setPrivateKey(java.io.InputStream privateKeyInputStream)
Allows specifying the private key (PEM file) path (for private key jwt authentication) directly instead
of relying on the default location + override/fallback behavior defined
in the
documentation above . |
ClientBuilder |
ClientBuilder.setPrivateKey(java.nio.file.Path privateKeyPath)
Allows specifying the private key (PEM file) path (for private key jwt authentication) directly instead
of relying on the default location + override/fallback behavior defined
in the
documentation above . |
ClientBuilder |
ClientBuilder.setPrivateKey(java.security.PrivateKey privateKey)
Allows specifying the private key (PEM file) path (for private key jwt authentication) directly instead
of relying on the default location + override/fallback behavior defined
in the
documentation above . |
ClientBuilder |
ClientBuilder.setPrivateKey(java.lang.String privateKey)
Allows specifying the private key (PEM file) path (for private key jwt authentication) directly instead
of relying on the default location + override/fallback behavior defined
in the
documentation above . |
ClientBuilder |
ClientBuilder.setProxy(com.okta.commons.http.config.Proxy proxy)
Sets the HTTP proxy to be used when communicating with the Okta API server.
|
ClientBuilder |
ClientBuilder.setRetryMaxAttempts(int maxAttempts)
Sets the maximum number of attempts to retrying before giving up.
|
ClientBuilder |
ClientBuilder.setRetryMaxElapsed(int maxElapsed)
Sets the maximum number of seconds to wait when retrying before giving up.
|
ClientBuilder |
ClientBuilder.setScopes(java.util.Set<java.lang.String> scopes)
Allows specifying a list of scopes directly instead of relying on the
default location + override/fallback behavior defined in the
documentation above . |
Copyright © 2017-2022 Okta. All Rights Reserved.