Package com.okta.sdk.resource.api
Class AttackProtectionApi
java.lang.Object
com.okta.sdk.resource.api.AttackProtectionApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-03-13T17:36:05.533634+05:30[Asia/Kolkata]",
comments="Generator version: 7.15.0")
public class AttackProtectionApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the authenticator settings Retrieves the Authenticator Settings for an orggetAuthenticatorSettings(Map<String, String> additionalHeaders) Retrieve the authenticator settings Retrieves the Authenticator Settings for an orgRetrieve the authenticator settings (Paginated) Retrieves the Authenticator Settings for an org This method returns a lazy, paginated iterable that automatically handles pagination.getAuthenticatorSettingsPaged(Map<String, String> additionalHeaders) Retrieve the authenticator settings (Paginated with additional headers) Retrieves the Authenticator Settings for an org This method returns a lazy, paginated iterable that automatically handles pagination.protected static com.fasterxml.jackson.databind.ObjectMapperRetrieve the user lockout settings Retrieves the User Lockout Settings for an orggetUserLockoutSettings(Map<String, String> additionalHeaders) Retrieve the user lockout settings Retrieves the User Lockout Settings for an orgRetrieve the user lockout settings (Paginated) Retrieves the User Lockout Settings for an org This method returns a lazy, paginated iterable that automatically handles pagination.getUserLockoutSettingsPaged(Map<String, String> additionalHeaders) Retrieve the user lockout settings (Paginated with additional headers) Retrieves the User Lockout Settings for an org This method returns a lazy, paginated iterable that automatically handles pagination.replaceAuthenticatorSettings(AttackProtectionAuthenticatorSettings authenticatorSettings) Replace the authenticator settings Replaces the Authenticator Settings for an orgreplaceAuthenticatorSettings(AttackProtectionAuthenticatorSettings authenticatorSettings, Map<String, String> additionalHeaders) Replace the authenticator settings Replaces the Authenticator Settings for an orgreplaceUserLockoutSettings(UserLockoutSettings lockoutSettings) Replace the user lockout settings Replaces the User Lockout Settings for an orgreplaceUserLockoutSettings(UserLockoutSettings lockoutSettings, Map<String, String> additionalHeaders) Replace the user lockout settings Replaces the User Lockout Settings for an orgvoidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
AttackProtectionApi
public AttackProtectionApi() -
AttackProtectionApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getAuthenticatorSettings
Retrieve the authenticator settings Retrieves the Authenticator Settings for an org- Returns:
- List<AttackProtectionAuthenticatorSettings>
- Throws:
ApiException- if fails to make API call
-
getAuthenticatorSettings
public List<AttackProtectionAuthenticatorSettings> getAuthenticatorSettings(Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the authenticator settings Retrieves the Authenticator Settings for an org- Parameters:
additionalHeaders- additionalHeaders for this call- Returns:
- List<AttackProtectionAuthenticatorSettings>
- Throws:
ApiException- if fails to make API call
-
getAuthenticatorSettingsPaged
Retrieve the authenticator settings (Paginated) Retrieves the Authenticator Settings for an org This method returns a lazy, paginated iterable that automatically handles pagination. It is thread-safe and does not cause memory leaks. Use this method in a for-each loop to automatically fetch all pages without manual cursor management.- Returns:
- Iterable<AttackProtectionAuthenticatorSettings> lazy iterable over all pages
-
getAuthenticatorSettingsPaged
public Iterable<AttackProtectionAuthenticatorSettings> getAuthenticatorSettingsPaged(Map<String, String> additionalHeaders) Retrieve the authenticator settings (Paginated with additional headers) Retrieves the Authenticator Settings for an org This method returns a lazy, paginated iterable that automatically handles pagination. It is thread-safe and does not cause memory leaks.- Parameters:
additionalHeaders- additional headers for this call- Returns:
- Iterable<AttackProtectionAuthenticatorSettings> lazy iterable over all pages
-
getUserLockoutSettings
Retrieve the user lockout settings Retrieves the User Lockout Settings for an org- Returns:
- List<UserLockoutSettings>
- Throws:
ApiException- if fails to make API call
-
getUserLockoutSettings
public List<UserLockoutSettings> getUserLockoutSettings(Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the user lockout settings Retrieves the User Lockout Settings for an org- Parameters:
additionalHeaders- additionalHeaders for this call- Returns:
- List<UserLockoutSettings>
- Throws:
ApiException- if fails to make API call
-
getUserLockoutSettingsPaged
Retrieve the user lockout settings (Paginated) Retrieves the User Lockout Settings for an org This method returns a lazy, paginated iterable that automatically handles pagination. It is thread-safe and does not cause memory leaks. Use this method in a for-each loop to automatically fetch all pages without manual cursor management.- Returns:
- Iterable<UserLockoutSettings> lazy iterable over all pages
-
getUserLockoutSettingsPaged
public Iterable<UserLockoutSettings> getUserLockoutSettingsPaged(Map<String, String> additionalHeaders) Retrieve the user lockout settings (Paginated with additional headers) Retrieves the User Lockout Settings for an org This method returns a lazy, paginated iterable that automatically handles pagination. It is thread-safe and does not cause memory leaks.- Parameters:
additionalHeaders- additional headers for this call- Returns:
- Iterable<UserLockoutSettings> lazy iterable over all pages
-
replaceAuthenticatorSettings
public AttackProtectionAuthenticatorSettings replaceAuthenticatorSettings(AttackProtectionAuthenticatorSettings authenticatorSettings) throws ApiException Replace the authenticator settings Replaces the Authenticator Settings for an org- Parameters:
authenticatorSettings- (required)- Returns:
- AttackProtectionAuthenticatorSettings
- Throws:
ApiException- if fails to make API call
-
replaceAuthenticatorSettings
public AttackProtectionAuthenticatorSettings replaceAuthenticatorSettings(AttackProtectionAuthenticatorSettings authenticatorSettings, Map<String, String> additionalHeaders) throws ApiExceptionReplace the authenticator settings Replaces the Authenticator Settings for an org- Parameters:
authenticatorSettings- (required)additionalHeaders- additionalHeaders for this call- Returns:
- AttackProtectionAuthenticatorSettings
- Throws:
ApiException- if fails to make API call
-
replaceUserLockoutSettings
public UserLockoutSettings replaceUserLockoutSettings(UserLockoutSettings lockoutSettings) throws ApiException Replace the user lockout settings Replaces the User Lockout Settings for an org- Parameters:
lockoutSettings- (required)- Returns:
- UserLockoutSettings
- Throws:
ApiException- if fails to make API call
-
replaceUserLockoutSettings
public UserLockoutSettings replaceUserLockoutSettings(UserLockoutSettings lockoutSettings, Map<String, String> additionalHeaders) throws ApiExceptionReplace the user lockout settings Replaces the User Lockout Settings for an org- Parameters:
lockoutSettings- (required)additionalHeaders- additionalHeaders for this call- Returns:
- UserLockoutSettings
- Throws:
ApiException- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-